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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-10-27 12:33:35 +01:00
|
|
|
outputs =
|
|
|
|
{
|
|
|
|
nixpkgs,
|
|
|
|
home-manager,
|
|
|
|
lix-module,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
nixosConfigurations =
|
|
|
|
let
|
|
|
|
host-params = {
|
|
|
|
inherit nixpkgs;
|
|
|
|
inherit home-manager;
|
|
|
|
inherit lix-module;
|
|
|
|
common-modules = [
|
|
|
|
lix-module.nixosModules.default
|
|
|
|
./common
|
|
|
|
];
|
|
|
|
desktop-modules = [
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
./home
|
|
|
|
./modules/desktop-environment.nix
|
|
|
|
./modules/desktop-hardware.nix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
vinzenz-lpt2 = import ./hosts/vinzenz-lpt2 host-params;
|
|
|
|
vinzenz-pc2 = import ./hosts/vinzenz-pc2 host-params;
|
|
|
|
hetzner-vpn1 = import ./hosts/hetzner-vpn1 host-params;
|
|
|
|
};
|
|
|
|
|
|
|
|
formatter = {
|
|
|
|
x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
|
|
|
|
aarch64-linux = nixpkgs.legacyPackages.aarch64-linux.nixfmt-rfc-style;
|
2024-10-26 14:59:00 +02:00
|
|
|
};
|
2024-10-26 00:04:27 +02:00
|
|
|
};
|
|
|
|
}
|