From 5d812e4ba8f0811b6a32ac595992ec245f565eba Mon Sep 17 00:00:00 2001 From: sefidel Date: Thu, 11 Jan 2024 14:41:59 +0900 Subject: feat(systems): use flake module --- systems/cobalt/default.nix | 3 ++- systems/v-coord1/default.nix | 2 ++ systems/v-nanode1/default.nix | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) (limited to 'systems') diff --git a/systems/cobalt/default.nix b/systems/cobalt/default.nix index c8a7139..e8a7615 100644 --- a/systems/cobalt/default.nix +++ b/systems/cobalt/default.nix @@ -155,10 +155,11 @@ in sops.secrets.searx-env = { }; sops.secrets.freshrss-admin-pass = { owner = "freshrss"; }; - nix.experimentalFeatures = "nix-command flakes"; services.openssh.knownHosts."hk-s020.rsync.net".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILcPl9x9JfRFwsn09NnDw/xBZbAN80ZQck+h6AqlVqPH"; + nix.flakes.enable = true; + modules = { security.enable = true; persistence = { diff --git a/systems/v-coord1/default.nix b/systems/v-coord1/default.nix index cc3407e..8c63365 100644 --- a/systems/v-coord1/default.nix +++ b/systems/v-coord1/default.nix @@ -68,6 +68,8 @@ in services.openssh.enable = true; services.openssh.settings.PermitRootLogin = "prohibit-password"; + nix.flakes.enable = true; + modules = { security.enable = true; persistence.enable = false; diff --git a/systems/v-nanode1/default.nix b/systems/v-nanode1/default.nix index 9e39830..406fced 100644 --- a/systems/v-nanode1/default.nix +++ b/systems/v-nanode1/default.nix @@ -80,6 +80,8 @@ in services.openssh.enable = true; services.openssh.settings.PermitRootLogin = "prohibit-password"; + nix.flakes.enable = true; + modules = { security.enable = true; persistence.enable = false; -- cgit 1.4.1