79 lines
1.4 KiB
Nix
79 lines
1.4 KiB
Nix
{ pkgs, ... }:
|
|
{
|
|
programs = {
|
|
home-manager.enable = true;
|
|
|
|
bash = {
|
|
enable = true;
|
|
historyControl = [ "ignoreboth" ];
|
|
};
|
|
|
|
git = {
|
|
enable = true;
|
|
userName = "xezo360hye";
|
|
userEmail = "xezo360hye@gmail.com";
|
|
extraConfig = {
|
|
init.defaultBranch = "master";
|
|
url."https://github.com/".insteadOf = [ "gh:" "github:" ];
|
|
url."https://git.psf.lt/".insteadOf = [ "psf:" "gitea:" ];
|
|
};
|
|
};
|
|
|
|
nixvim = {
|
|
enable = true;
|
|
|
|
viAlias = true;
|
|
vimAlias = true;
|
|
defaultEditor = true;
|
|
|
|
colorschemes.tokyonight.enable = true;
|
|
plugins.copilot-lua = {
|
|
enable = true;
|
|
filetypes = {
|
|
markdown = true;
|
|
yaml = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
htop.enable = true;
|
|
fastfetch.enable = true;
|
|
alacritty.enable = true;
|
|
};
|
|
|
|
xsession.windowManager.awesome = {
|
|
enable = true;
|
|
noArgb = true;
|
|
};
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
news.display = "show";
|
|
|
|
home = {
|
|
packages = with pkgs; [
|
|
telegram-desktop
|
|
arduino-cli
|
|
ani-cli
|
|
ytfzf
|
|
nethack
|
|
cpufrequtils
|
|
qbittorrent
|
|
steam-run
|
|
libqalculate
|
|
];
|
|
|
|
sessionVariables = {
|
|
ANI_CLI_PLAYER = "mpv";
|
|
};
|
|
|
|
file = {
|
|
".config/awesome/rc.lua".source = ./awesomerc.lua;
|
|
};
|
|
|
|
username = "andrey";
|
|
homeDirectory = "/home/andrey";
|
|
stateVersion = "24.05";
|
|
};
|
|
}
|
|
# vim: ts=2 sw=2 et
|