separate out programs and services

This commit is contained in:
Adithya 2023-04-10 23:23:52 +05:30
parent 918859b31f
commit 183f1a10a3
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
3 changed files with 11 additions and 3 deletions

View file

@ -2,6 +2,8 @@
imports = [ imports = [
./hardware ./hardware
./programs
./services
]; ];
networking.hostName = "Rico2"; networking.hostName = "Rico2";
@ -23,9 +25,6 @@
supportedLocales = [ "en_US.UTF-8/UTF-8" ]; supportedLocales = [ "en_US.UTF-8/UTF-8" ];
}; };
programs.zsh.enable = true;
services.openssh.enable = true;
time.timeZone = "Asia/Kolkata"; time.timeZone = "Asia/Kolkata";
system.stateVersion = "23.05"; system.stateVersion = "23.05";
} }

View file

@ -0,0 +1,6 @@
{ ... }: {
programs = {
zsh.enable = true;
};
environment.pathsToLink = [ "/share/zsh" ];
}

View file

@ -0,0 +1,3 @@
{ ... }: {
services.openssh.enable = true;
}