split config
This commit is contained in:
parent
1602292781
commit
5944fe5cca
19 changed files with 271 additions and 276 deletions
19
flake.nix
19
flake.nix
|
@ -16,16 +16,21 @@
|
|||
home-manager,
|
||||
lix-module,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
common-modules = [
|
||||
lix-module.nixosModules.default
|
||||
home-manager.nixosModules.home-manager
|
||||
./common
|
||||
];
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
vinzenz-lpt2 = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
lix-module.nixosModules.default
|
||||
home-manager.nixosModules.home-manager
|
||||
./common
|
||||
./hosts/vinzenz-lpt2
|
||||
];
|
||||
modules =
|
||||
common-modules
|
||||
++ [
|
||||
./hosts/vinzenz-lpt2
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue