This commit is contained in:
albert 2024-03-15 10:27:55 +09:00
parent aa4148ad07
commit 1b5661e22f
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
2 changed files with 9 additions and 0 deletions

View file

@ -3,6 +3,7 @@ keys:
- &host_nixos-framework aaec681e4fb9dcdd15d0d367a86615d17653d819 - &host_nixos-framework aaec681e4fb9dcdd15d0d367a86615d17653d819
- &host_framework-server dfd3a496aba156fa521e82ada77d68dc727cf52b - &host_framework-server dfd3a496aba156fa521e82ada77d68dc727cf52b
- &host_osaka-linode-01 5f548d87ab2b8a4d48d80da3f2ff8352998da7fa - &host_osaka-linode-01 5f548d87ab2b8a4d48d80da3f2ff8352998da7fa
- &host_milan-linode-01 5f548d87ab2b8a4d48d80da3f2ff8352998da7fa
- &host_piaware-rpi4 4216b645667670a6130bb95a72a56f8269cd0818 - &host_piaware-rpi4 4216b645667670a6130bb95a72a56f8269cd0818
- &host_backups-rpi4 8b37122bb46dc98c208002d65e94778ecd94bd4e - &host_backups-rpi4 8b37122bb46dc98c208002d65e94778ecd94bd4e
- &host_quitman-rpi4 7184f4fb827fbacf3d4100c24eb80976cfdd8975 - &host_quitman-rpi4 7184f4fb827fbacf3d4100c24eb80976cfdd8975
@ -27,6 +28,12 @@ creation_rules:
- *host_framework-server - *host_framework-server
- *host_backups-rpi4 - *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$ - path_regex: secrets\/hosts\/osaka-linode-01\.yaml$
key_groups: key_groups:
- pgp: - pgp:

View file

@ -57,6 +57,7 @@
libx = import ./lib { inherit self inputs outputs stateVersion hmStateVersion; }; libx = import ./lib { inherit self inputs outputs stateVersion hmStateVersion; };
in { in {
nixosConfigurations = { nixosConfigurations = {
osaka-linode-01 = libx.mkHost { hostname = "osaka-linode-01"; type = "small";};
milan-linode-01 = libx.mkHost { hostname = "milan-linode-01"; type = "small";}; milan-linode-01 = libx.mkHost { hostname = "milan-linode-01"; type = "small";};
framework-server = libx.mkHost { hostname = "framework-server"; }; framework-server = libx.mkHost { hostname = "framework-server"; };
nuc-server = libx.mkHost { hostname = "nuc-server"; }; nuc-server = libx.mkHost { hostname = "nuc-server"; };
@ -79,6 +80,7 @@
}; };
deploy.nodes = { deploy.nodes = {
osaka-linode-01 = libx.deploy { hostname = "osaka-linode-01"; }; 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"; }; framework-server = libx.deploy { hostname = "framework-server"; };
# nuc-server = libx.deploy { hostname = "nuc-server"; }; # nuc-server = libx.deploy { hostname = "nuc-server"; };
backups-rpi4 = libx.deploy { hostname = "backups-rpi4"; system = "aarch64-linux"; }; backups-rpi4 = libx.deploy { hostname = "backups-rpi4"; system = "aarch64-linux"; };