aboutsummaryrefslogtreecommitdiff
path: root/nix/flake/hosts.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-08-05 09:37:18 -0700
committerFranck Cuny <franck@fcuny.net>2024-08-05 09:37:18 -0700
commit11de044811d357b4b34e87bccfaf5302d0eb6c93 (patch)
tree050312e0a00e6467fda72095c49d2f2ae0ae567e /nix/flake/hosts.nix
parentadd a linux VM as a new host (diff)
downloadinfra-11de044811d357b4b34e87bccfaf5302d0eb6c93.tar.gz
add a new host: wildcat
This is a VPS on hetzner.
Diffstat (limited to 'nix/flake/hosts.nix')
-rw-r--r--nix/flake/hosts.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nix/flake/hosts.nix b/nix/flake/hosts.nix
index c02fe6c..836a26b 100644
--- a/nix/flake/hosts.nix
+++ b/nix/flake/hosts.nix
@@ -34,6 +34,7 @@ let
mkNixosConfig = system: path: nixpkgs.lib.nixosSystem {
inherit system;
modules = [
+ "${self}/nix/hosts/nixos"
path
];
specialArgs = { inherit inputs self; };
@@ -49,6 +50,7 @@ in
nixosConfigurations = {
vm = mkNixosConfig "aarch64-linux" "${self}/nix/hosts/vm";
+ wildcat = mkNixosConfig "x86_64-linux" "${self}/nix/hosts/wildcat";
};
}
];