2024-10-26 00:04:27 +02:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager/release-24.05";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
lix-module = {
|
|
|
|
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.1-1.tar.gz";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = inputs @ {
|
|
|
|
nixpkgs,
|
|
|
|
home-manager,
|
|
|
|
lix-module,
|
|
|
|
...
|
2024-10-26 12:32:15 +02:00
|
|
|
}: let
|
|
|
|
common-modules = [
|
|
|
|
lix-module.nixosModules.default
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
./common
|
|
|
|
];
|
|
|
|
in {
|
2024-10-26 00:04:27 +02:00
|
|
|
nixosConfigurations = {
|
|
|
|
vinzenz-lpt2 = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
2024-10-26 12:32:15 +02:00
|
|
|
modules =
|
|
|
|
common-modules
|
|
|
|
++ [
|
|
|
|
./hosts/vinzenz-lpt2
|
|
|
|
];
|
2024-10-26 00:04:27 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|