transform the other hosts to flake
This commit is contained in:
parent
5944fe5cca
commit
f41cd58e54
12 changed files with 90 additions and 90 deletions
24
flake.nix
24
flake.nix
|
@ -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;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue