fleshed out server configuration a bit more before installation
This commit is contained in:
@@ -5,4 +5,9 @@
|
||||
wallpaper,
|
||||
username,
|
||||
...
|
||||
}: {}
|
||||
}: {
|
||||
imports = [
|
||||
./services.nix
|
||||
../sys/software/nixvim
|
||||
];
|
||||
}
|
||||
|
||||
9
modules/server/programs.nix
Normal file
9
modules/server/programs.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{...}: {
|
||||
programs = {
|
||||
zsh.enable = true;
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -13,4 +13,8 @@
|
||||
"d /home/${username}/inbox 0770 ${username} users -"
|
||||
"d /home/${username}/outbox 0770 ${username} users -"
|
||||
];
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
allowSFTP = true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user