From d0bf9a09920324970172a0f9d7df9a2c117b15f0 Mon Sep 17 00:00:00 2001 From: albert Date: Sun, 23 Jun 2024 19:11:32 +0900 Subject: [PATCH] Add frankfurt to flake.nix --- flake.nix | 66 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 35 insertions(+), 31 deletions(-) diff --git a/flake.nix b/flake.nix index 5eb1153f..6baabe33 100644 --- a/flake.nix +++ b/flake.nix @@ -53,42 +53,46 @@ 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"; }; - nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; unfree = true; desktop = "hyprland"; theme = "green"; }; - nixos-framework = libx.mkHost { hostname = "nixos-framework"; unfree = true; desktop = "plasma6"; }; - backups-rpi4 = libx.mkHost { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; }; - piaware-rpi4 = libx.mkHost { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; }; - quitman-rpi4 = libx.mkHost { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; }; - bakersfield-rpi4 = libx.mkHost { hostname = "bakersfield-rpi4"; system = "aarch64-linux"; type = "small"; }; - steamdeck = libx.mkDeck { hostname = "steamdeck"; desktop = "plasma6"; theme = "stylix"; }; + osaka-linode-01 = libx.mkHost { hostname = "osaka-linode-01"; type = "small";}; + milan-linode-01 = libx.mkHost { hostname = "milan-linode-01"; type = "small";}; + frankfurt-linode-01 = libx.mkHost { hostname = "frankfurt-linode-01"; type = "small";}; + framework-server = libx.mkHost { hostname = "framework-server"; }; + nuc-server = libx.mkHost { hostname = "nuc-server"; }; + nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; unfree = true; desktop = "hyprland"; theme = "green"; }; + nixos-framework = libx.mkHost { hostname = "nixos-framework"; unfree = true; desktop = "plasma6"; }; + backups-rpi4 = libx.mkHost { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; }; + piaware-rpi4 = libx.mkHost { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; }; + quitman-rpi4 = libx.mkHost { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; }; + bakersfield-rpi4 = libx.mkHost { hostname = "bakersfield-rpi4"; system = "aarch64-linux"; type = "small"; }; + steamdeck = libx.mkDeck { hostname = "steamdeck"; desktop = "plasma6"; theme = "stylix"; }; }; homeConfigurations = { - "albert@osaka-linode-01" = libx.mkHome { hostname = "osaka-linode-01"; type = "small"; }; - "albert@milan-linode-01" = libx.mkHome { hostname = "milan-linode-01"; type = "small"; }; - "albert@framework-server" = libx.mkHome { hostname = "framework-server"; }; - "albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; }; - "albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "hyprland"; theme = "green"; }; - "albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "plasma6"; }; - "albert@backups-rpi4" = libx.mkHome { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; }; - "albert@piaware-rpi4" = libx.mkHome { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; }; - "albert@quitman-rpi4" = libx.mkHome { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; }; - "albert@bakersfield-rpi4" = libx.mkHome { hostname = "bakersfield-rpi4"; system = "aarch64-linux"; type = "small"; }; - "albert@steamdeck" = libx.mkHome { hostname = "steamdeck"; desktop = "plasma6"; }; + "albert@osaka-linode-01" = libx.mkHome { hostname = "osaka-linode-01"; type = "small"; }; + "albert@milan-linode-01" = libx.mkHome { hostname = "milan-linode-01"; type = "small"; }; + "albert@frankfurt-linode-01" = libx.mkHome { hostname = "frankfurt-linode-01"; type = "small"; }; + "albert@framework-server" = libx.mkHome { hostname = "framework-server"; }; + "albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; }; + "albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "hyprland"; theme = "green"; }; + "albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "plasma6"; }; + "albert@backups-rpi4" = libx.mkHome { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; }; + "albert@piaware-rpi4" = libx.mkHome { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; }; + "albert@quitman-rpi4" = libx.mkHome { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; }; + "albert@bakersfield-rpi4" = libx.mkHome { hostname = "bakersfield-rpi4"; system = "aarch64-linux"; type = "small"; }; + "albert@steamdeck" = libx.mkHome { hostname = "steamdeck"; desktop = "plasma6"; }; # Containers - "albert@rdesktop" = libx.mkHome { hostname = "rdesktop"; desktop = "plasma6"; }; + "albert@rdesktop" = libx.mkHome { hostname = "rdesktop"; desktop = "plasma6"; }; }; 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"; }; - piaware-rpi4 = libx.deploy { hostname = "piaware-rpi4"; system = "aarch64-linux"; }; - bakersfield-rpi4 = libx.deploy { hostname = "bakersfield-rpi4"; system = "aarch64-linux"; }; - # quitman-rpi4 = libx.deploy { hostname = "quitman-rpi4"; system = "aarch64-linux"; }; + osaka-linode-01 = libx.deploy { hostname = "osaka-linode-01"; }; + milan-linode-01 = libx.deploy { hostname = "milan-linode-01"; }; + frankfurt-linode-01 = libx.deploy { hostname = "frankfurt-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"; }; + piaware-rpi4 = libx.deploy { hostname = "piaware-rpi4"; system = "aarch64-linux"; }; + bakersfield-rpi4 = libx.deploy { hostname = "bakersfield-rpi4"; system = "aarch64-linux"; }; + # quitman-rpi4 = libx.deploy { hostname = "quitman-rpi4"; system = "aarch64-linux"; }; }; imageConfigurations = { nixos-linode-img = libx.mkMinImage { hostname = "nixos-linode-img"; format = "linode"; };