separate out programs and services
This commit is contained in:
parent
918859b31f
commit
183f1a10a3
3 changed files with 11 additions and 3 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
imports = [
|
||||
./hardware
|
||||
./programs
|
||||
./services
|
||||
];
|
||||
|
||||
networking.hostName = "Rico2";
|
||||
|
@ -23,9 +25,6 @@
|
|||
supportedLocales = [ "en_US.UTF-8/UTF-8" ];
|
||||
};
|
||||
|
||||
programs.zsh.enable = true;
|
||||
services.openssh.enable = true;
|
||||
|
||||
time.timeZone = "Asia/Kolkata";
|
||||
system.stateVersion = "23.05";
|
||||
}
|
||||
|
|
6
system.rico/programs/default.nix
Normal file
6
system.rico/programs/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ ... }: {
|
||||
programs = {
|
||||
zsh.enable = true;
|
||||
};
|
||||
environment.pathsToLink = [ "/share/zsh" ];
|
||||
}
|
3
system.rico/services/default.nix
Normal file
3
system.rico/services/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{ ... }: {
|
||||
services.openssh.enable = true;
|
||||
}
|
Loading…
Reference in a new issue