Compare commits

...

2 Commits

3 changed files with 43 additions and 58 deletions

View File

@ -3,6 +3,7 @@
imports = [ imports = [
./modules/nethack.nix ./modules/nethack.nix
./modules/firefox.nix ./modules/firefox.nix
./modules/neovim.nix
]; ];
programs = { programs = {
@ -28,48 +29,6 @@
}; };
}; };
nixvim = {
enable = true;
colorschemes.nightfox = {
enable = true;
flavor = "nordfox";
};
plugins = {
guess-indent = {
enable = true;
};
copilot-lua = {
enable = true;
suggestion.autoTrigger = true;
suggestion.keymap = {
accept = "<M-Right>";
acceptLine = "<M-l>";
acceptWord = "<M-w>";
};
};
};
keymaps = [
{
mode = "n";
key = ";";
action = ":";
}
{
mode = "n";
key = "<Esc>";
action = "<Cmd>nohlsearch<CR>";
options = {
silent = true;
};
}
];
};
mpv = { mpv = {
enable = true; enable = true;
}; };

View File

@ -4,21 +4,6 @@
enable = true; enable = true;
profiles.default = { profiles.default = {
containersForce = true;
containers = {
social = {
color = "turquoise";
icon = "fence";
id = 1;
};
shopping = {
color = "orange";
icon = "cart";
id = 2;
};
};
extensions = with pkgs.nur.repos.rycee.firefox-addons; [ extensions = with pkgs.nur.repos.rycee.firefox-addons; [
ublock-origin ublock-origin
private-relay private-relay
@ -62,7 +47,6 @@
"browser.tabs.inTitlebar" = 0; "browser.tabs.inTitlebar" = 0;
"services.sync.engine.addons" = false; "services.sync.engine.addons" = false;
"services.sync.username" = "xezo360hye@gmail.com";
"toolkit.legacyUserProfileCustomizations.stylesheets" = true; "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"extensions.autoDisableScopes" = 0; "extensions.autoDisableScopes" = 0;

42
home/modules/neovim.nix Normal file
View File

@ -0,0 +1,42 @@
{
programs.nixvim = {
enable = true;
colorschemes.nightfox = {
enable = true;
flavor = "nordfox";
};
plugins = {
guess-indent = {
enable = true;
};
copilot-lua = {
enable = true;
suggestion.autoTrigger = true;
suggestion.keymap = {
accept = "<M-a>";
acceptLine = "<M-l>";
acceptWord = "<M-w>";
};
};
};
keymaps = [
{
mode = "n";
key = ";";
action = ":";
}
{
mode = "n";
key = "<Esc>";
action = "<Cmd>nohlsearch<CR>";
options = {
silent = true;
};
}
];
};
}