includes server shell on server

This commit is contained in:
Dennis Schoepf 2026-03-04 23:02:36 +01:00
parent 5e6bb1b81a
commit 4e26d4b880
2 changed files with 102 additions and 17 deletions

View file

@ -10,6 +10,7 @@ in
inputs.agenix.nixosModules.default
home-manager
base
server-shell
git
ssh
zfs
@ -20,26 +21,29 @@ in
restic
samba-share
({ config, ... }: {
imports = [ ./_hardware-configuration.nix ];
networking.hostName = hostname;
networking.hostId = "e5d5a602";
system.stateVersion = "24.11";
(
{ config, ... }:
{
imports = [ ./_hardware-configuration.nix ];
networking.hostName = hostname;
networking.hostId = "e5d5a602";
system.stateVersion = "24.11";
# Secrets for this machine
age = {
identityPaths = [
"${config.users.users.dennis.home}/.ssh/id_ed25519"
];
secrets."restic/password" = {
file = "${secretsDir}/restic/password.age";
# Secrets for this machine
age = {
identityPaths = [
"${config.users.users.dennis.home}/.ssh/id_ed25519"
];
secrets."restic/password" = {
file = "${secretsDir}/restic/password.age";
};
};
};
# Options for my custom modules
samba-share.path = "/main/share";
samba-share.allowedHosts = "192.168.178. 127.0.0.1 localhost";
})
# Options for my custom modules
samba-share.path = "/main/share";
samba-share.allowedHosts = "192.168.178. 127.0.0.1 localhost";
}
)
];
};
}