diff options
author | sefidel <contact@sefidel.net> | 2024-01-11 14:41:59 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-01-12 00:18:45 +0900 |
commit | 5d812e4ba8f0811b6a32ac595992ec245f565eba (patch) | |
tree | e2cfc25723a389a47c7bed2eda74d65833d67ab8 | |
parent | d929d9140ae185f8958e4f22e00767871bcaaf65 (diff) | |
download | infra-5d812e4ba8f0811b6a32ac595992ec245f565eba.tar.gz infra-5d812e4ba8f0811b6a32ac595992ec245f565eba.zip |
feat(systems): use flake module
-rw-r--r-- | systems/cobalt/default.nix | 3 | ||||
-rw-r--r-- | systems/v-coord1/default.nix | 2 | ||||
-rw-r--r-- | systems/v-nanode1/default.nix | 2 |
3 files changed, 6 insertions, 1 deletions
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; |