diff --git a/.sops.yaml b/.sops.yaml index 14321f31..acbfaaac 100644 --- a/.sops.yaml +++ b/.sops.yaml @@ -3,6 +3,7 @@ keys: - &host_nixos-framework aaec681e4fb9dcdd15d0d367a86615d17653d819 - &host_framework-server dfd3a496aba156fa521e82ada77d68dc727cf52b - &host_osaka-linode-01 5f548d87ab2b8a4d48d80da3f2ff8352998da7fa + - &host_milan-linode-01 5f548d87ab2b8a4d48d80da3f2ff8352998da7fa - &host_piaware-rpi4 4216b645667670a6130bb95a72a56f8269cd0818 - &host_backups-rpi4 8b37122bb46dc98c208002d65e94778ecd94bd4e - &host_quitman-rpi4 7184f4fb827fbacf3d4100c24eb80976cfdd8975 @@ -27,6 +28,12 @@ creation_rules: - *host_framework-server - *host_backups-rpi4 + - path_regex: secrets\/hosts\/milan-linode-01\.yaml$ + key_groups: + - pgp: + - *user_albert + - *host_milan-linode-01 + - path_regex: secrets\/hosts\/osaka-linode-01\.yaml$ key_groups: - pgp: diff --git a/flake.nix b/flake.nix index ff897c01..6261c38b 100644 --- a/flake.nix +++ b/flake.nix @@ -57,6 +57,7 @@ libx = import ./lib { inherit self inputs outputs stateVersion hmStateVersion; }; in { nixosConfigurations = { + osaka-linode-01 = libx.mkHost { hostname = "osaka-linode-01"; type = "small";}; milan-linode-01 = libx.mkHost { hostname = "milan-linode-01"; type = "small";}; framework-server = libx.mkHost { hostname = "framework-server"; }; nuc-server = libx.mkHost { hostname = "nuc-server"; }; @@ -79,6 +80,7 @@ }; deploy.nodes = { osaka-linode-01 = libx.deploy { hostname = "osaka-linode-01"; }; + milan-linode-01 = libx.deploy { hostname = "milan-linode-01"; }; framework-server = libx.deploy { hostname = "framework-server"; }; # nuc-server = libx.deploy { hostname = "nuc-server"; }; backups-rpi4 = libx.deploy { hostname = "backups-rpi4"; system = "aarch64-linux"; };