diff options
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/parts/server.nix | 9 | ||||
-rw-r--r-- | nixos/tente-configuration.nix | 3 |
2 files changed, 10 insertions, 2 deletions
diff --git a/nixos/parts/server.nix b/nixos/parts/server.nix new file mode 100644 index 0000000..3d94985 --- /dev/null +++ b/nixos/parts/server.nix @@ -0,0 +1,9 @@ +{ config, pkgs, ... }: + +{ + services = { + openssh = { + enable = true; + }; + }; +} diff --git a/nixos/tente-configuration.nix b/nixos/tente-configuration.nix index b40bc2a..26e8ed9 100644 --- a/nixos/tente-configuration.nix +++ b/nixos/tente-configuration.nix @@ -13,6 +13,7 @@ in imports = [ ./tente-hardware-configuration.nix ./sanix.nix + ./parts/server.nix ./parts/basics.nix ]; @@ -83,8 +84,6 @@ in ]; services = { - openssh.enable = true; - gitolite = { enable = true; adminPubkey = ""; # TODO: submit PR to nixpkgs to make this option optional |