diff --git a/nixos/server.nix b/nixos/server.nix index 938c8f9..23777f4 100644 --- a/nixos/server.nix +++ b/nixos/server.nix @@ -27,16 +27,15 @@ ./server/mailserver.nix ./server/mariadb.nix ./server/mastodon.nix - ./server/misc.nix ./server/nextcloud.nix ./server/nfs.nix ./server/nginx.nix ./server/owncast.nix ./server/pufferpanel.nix - ./server/server-misc.nix ./server/synapse.nix ./server/tandoor.nix ./server/vaultwarden.nix + ./server/misc.nix ]; services.openssh.ports = [ 2222 ]; diff --git a/nixos/server/misc.nix b/nixos/server/misc.nix index 2cb35c9..599429b 100644 --- a/nixos/server/misc.nix +++ b/nixos/server/misc.nix @@ -1,4 +1,9 @@ -{ +{pkgs, ...}: { + # Install programs system-wide + environment.systemPackages = with pkgs; [ + mdadm + ]; + services = { snowflake-proxy.enable = true; logrotate.checkConfig = false; diff --git a/nixos/server/server-misc.nix b/nixos/server/server-misc.nix deleted file mode 100644 index adbc9b5..0000000 --- a/nixos/server/server-misc.nix +++ /dev/null @@ -1,6 +0,0 @@ -{pkgs, ...}: { - # Install programs system-wide - environment.systemPackages = with pkgs; [ - mdadm - ]; -}