2024-08-05 04:05:00 +05:30
|
|
|
{ pkgs, ... }:
|
2024-08-05 02:49:38 +05:30
|
|
|
{
|
|
|
|
imports = [
|
2024-08-11 01:41:46 +05:30
|
|
|
./modules/nethack.nix
|
|
|
|
./modules/firefox.nix
|
2024-08-05 02:49:38 +05:30
|
|
|
];
|
2024-08-05 04:05:00 +05:30
|
|
|
|
|
|
|
programs = {
|
|
|
|
home-manager.enable = true;
|
|
|
|
fastfetch.enable = true;
|
|
|
|
htop.enable = true;
|
|
|
|
|
2024-08-05 04:29:05 +05:30
|
|
|
|
2024-08-05 04:05:00 +05:30
|
|
|
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;
|
|
|
|
|
2024-08-05 04:29:05 +05:30
|
|
|
colorschemes.nightfox = {
|
|
|
|
enable = true;
|
|
|
|
flavor = "nordfox";
|
|
|
|
};
|
2024-08-05 04:05:00 +05:30
|
|
|
|
|
|
|
plugins = {
|
2024-08-06 14:39:59 +05:30
|
|
|
guess-indent = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2024-08-05 04:05:00 +05:30
|
|
|
|
|
|
|
copilot-lua = {
|
|
|
|
enable = true;
|
2024-08-06 14:39:59 +05:30
|
|
|
suggestion.autoTrigger = true;
|
|
|
|
suggestion.keymap = {
|
|
|
|
accept = "<M-Right>";
|
|
|
|
acceptLine = "<M-l>";
|
|
|
|
acceptWord = "<M-w>";
|
2024-08-05 04:05:00 +05:30
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-08-06 14:39:59 +05:30
|
|
|
|
|
|
|
keymaps = [
|
|
|
|
{
|
|
|
|
mode = "n";
|
|
|
|
key = ";";
|
|
|
|
action = ":";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
mode = "n";
|
|
|
|
key = "<Esc>";
|
|
|
|
action = "<Cmd>nohlsearch<CR>";
|
|
|
|
options = {
|
|
|
|
silent = true;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
2024-08-05 04:05:00 +05:30
|
|
|
};
|
2024-08-06 04:58:20 +05:30
|
|
|
|
|
|
|
mpv = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2024-08-05 04:05:00 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
|
|
|
home = {
|
|
|
|
packages = with pkgs; [
|
|
|
|
telegram-desktop
|
|
|
|
libqalculate
|
|
|
|
arduino-cli
|
|
|
|
|
|
|
|
ani-cli
|
|
|
|
ytfzf
|
|
|
|
|
|
|
|
cpufrequtils
|
|
|
|
steam-run
|
|
|
|
];
|
|
|
|
|
|
|
|
sessionVariables = {
|
|
|
|
ANI_CLI_PLAYER = "mpv";
|
|
|
|
};
|
2024-08-13 00:54:07 +05:30
|
|
|
|
|
|
|
file = {
|
|
|
|
".config/nixpkgs/config.nix".text = "{ allowUnfree = true; }";
|
|
|
|
};
|
2024-08-05 04:05:00 +05:30
|
|
|
};
|
2024-08-05 02:49:38 +05:30
|
|
|
}
|