transform the other hosts to flake

This commit is contained in:
Vinzenz Schroeter 2024-10-26 14:59:00 +02:00
parent 5944fe5cca
commit f41cd58e54
12 changed files with 90 additions and 90 deletions

View file

@ -19,7 +19,6 @@
}: let
common-modules = [
lix-module.nixosModules.default
home-manager.nixosModules.home-manager
./common
];
in {
@ -29,9 +28,32 @@
modules =
common-modules
++ [
home-manager.nixosModules.home-manager
./hosts/vinzenz-lpt2
];
};
vinzenz-pc2 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules =
common-modules
++ [
home-manager.nixosModules.home-manager
./hosts/vinzenz-pc2
];
};
hetzner-vpn1 = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
modules =
common-modules
++ [
./hosts/hetzner-vpn1
{
# uncomment for build check on non arm system (requires --impure)
# nixpkgs.buildPlatform = builtins.currentSystem;
}
];
};
};
};
}