fleshed out server configuration a bit more before installation

This commit is contained in:
pagedmov
2024-11-01 03:17:13 -04:00
parent c426e1b77a
commit dfb157c14f
4 changed files with 33 additions and 1 deletions

14
hosts/server/default.nix Normal file
View File

@@ -0,0 +1,14 @@
{
host,
inputs,
username,
nur,
pkgs,
self,
...
}: {
imports = [
./../../modules/server
./settings.nix
];
}

View File

@@ -5,4 +5,9 @@
wallpaper,
username,
...
}: {}
}: {
imports = [
./services.nix
../sys/software/nixvim
];
}

View File

@@ -0,0 +1,9 @@
{...}: {
programs = {
zsh.enable = true;
gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
};
}

View File

@@ -13,4 +13,8 @@
"d /home/${username}/inbox 0770 ${username} users -"
"d /home/${username}/outbox 0770 ${username} users -"
];
services.openssh = {
enable = true;
allowSFTP = true;
};
}