Compare commits

...

2 Commits

3 changed files with 43 additions and 58 deletions

View File

@ -3,6 +3,7 @@
imports = [
./modules/nethack.nix
./modules/firefox.nix
./modules/neovim.nix
];
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 = {
enable = true;
};

View File

@ -4,21 +4,6 @@
enable = true;
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; [
ublock-origin
private-relay
@ -62,7 +47,6 @@
"browser.tabs.inTitlebar" = 0;
"services.sync.engine.addons" = false;
"services.sync.username" = "xezo360hye@gmail.com";
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"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;
};
}
];
};
}