85 lines
1.5 KiB
Nix
85 lines
1.5 KiB
Nix
{ pkgs, ... }:
|
|
{
|
|
imports = [
|
|
./components/nethack.nix
|
|
./components/firefox.nix
|
|
];
|
|
|
|
programs = {
|
|
home-manager.enable = true;
|
|
fastfetch.enable = true;
|
|
htop.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;
|
|
|
|
colorschemes.nightfox = {
|
|
enable = true;
|
|
flavor = "nordfox";
|
|
};
|
|
|
|
plugins = {
|
|
guess-indent.enable = true;
|
|
|
|
copilot-lua = {
|
|
enable = true;
|
|
suggestion = {
|
|
autoTrigger = true;
|
|
keymap = {
|
|
accept = "<M-Right>";
|
|
acceptLine = "<M-l>";
|
|
acceptWord = "<M-w>";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
news.display = "show";
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
home = {
|
|
packages = with pkgs; [
|
|
telegram-desktop
|
|
libqalculate
|
|
arduino-cli
|
|
|
|
nethack
|
|
ani-cli
|
|
ytfzf
|
|
|
|
cpufrequtils
|
|
steam-run
|
|
];
|
|
|
|
sessionVariables = {
|
|
ANI_CLI_PLAYER = "mpv";
|
|
};
|
|
|
|
username = "andrey";
|
|
homeDirectory = "/home/andrey";
|
|
stateVersion = "24.05";
|
|
};
|
|
}
|