chore: split user progs into own file
This commit is contained in:
parent
884d58742d
commit
b63cc6e8cd
2 changed files with 25 additions and 23 deletions
|
|
@ -3,32 +3,10 @@
|
|||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./firewall.nix
|
||||
./userprogs.nix
|
||||
./sourcehut.nix
|
||||
];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
config = {
|
||||
user = {
|
||||
email = "khais.colin@gmail.com";
|
||||
name = "Khaïs COLIN";
|
||||
};
|
||||
core.editor = "nvim";
|
||||
};
|
||||
};
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
vimAlias = true;
|
||||
viAlias = true;
|
||||
configure = {
|
||||
customRC = ''
|
||||
set modeline
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
zramSwap.enable = true;
|
||||
networking.hostName = "quasar";
|
||||
|
|
|
|||
24
userprogs.nix
Normal file
24
userprogs.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
config = {
|
||||
user = {
|
||||
email = "khais.colin@gmail.com";
|
||||
name = "Khaïs COLIN";
|
||||
};
|
||||
core.editor = "nvim";
|
||||
};
|
||||
};
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
vimAlias = true;
|
||||
viAlias = true;
|
||||
configure = {
|
||||
customRC = ''
|
||||
set modeline
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue