From 02dd6dcfd7583b081c4c7bbb994e3b621de9220e Mon Sep 17 00:00:00 2001 From: surtur Date: Sat, 2 Dec 2023 21:46:21 +0100 Subject: [PATCH] nix(loki): disable nix-serve --- nix/hosts/loki/configuration.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/nix/hosts/loki/configuration.nix b/nix/hosts/loki/configuration.nix index d39eed7..8c7304b 100644 --- a/nix/hosts/loki/configuration.nix +++ b/nix/hosts/loki/configuration.nix @@ -18,7 +18,6 @@ ../../modules/base.nix ../../modules/dnscrypt.nix - # ../../modules/nix-serve.nix ../../modules/uptime-kuma.nix ]; @@ -45,12 +44,6 @@ nix.settings.trusted-users = ["@wheel" "root"]; - nix.sshServe.enable = true; - nix.sshServe.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBtG6NCgdLHX4ztpfvYNRaslKWZcl6KdTc1DehVH4kAL" - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBZbkw9vjCfbMPEH7ZAFq20XE9oIJ4w/HRIMu2ivNcej caelum's nixbldr key" - ]; - # forbid hibernation due to zfs-on-root. boot.kernelParams = ["nohibernate"]; boot.kernel.sysctl = { @@ -198,8 +191,6 @@ ]; }; - nix-serve.secretKeyFile = config.sops.secrets.nixServeSecretKey.path; - # TS is enabled in the imported module, this is additional config. tailscale = { useRoutingFeatures = "both";