This commit is contained in:
Aditya 2024-04-11 10:25:51 +05:30
parent 2510113d2b
commit aaf03ffa70
Signed by: aditya
SSH key fingerprint: SHA256:jL1IvWsjjlPtw6HvDIHfXfhO9IkIokNEyIfuFhSdoyU
3 changed files with 13 additions and 3 deletions

View file

@ -92,9 +92,6 @@
}; };
}; };
# Enable the OpenSSH daemon.
services.openssh.enable = true;
# Nix extra options # Nix extra options
nix.extraOptions = '' nix.extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes

View file

@ -12,6 +12,7 @@
./networking ./networking
./packages ./packages
./sound ./sound
./ssh
./virtualisation ./virtualisation
]; ];
} }

View file

@ -0,0 +1,12 @@
{
config,
lib,
...
}: {
options = {
ssh.enable = lib.mkEnableOption "enable ssh";
};
config = lib.mkIf config.ssh.enable {
services.openssh.enable = true;
};
}