2023-06-18 22:52:24 +02:00
|
|
|
{
|
2024-04-04 01:41:19 +02:00
|
|
|
inputs = {
|
2024-05-24 21:33:00 +02:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
|
|
|
|
nur.url = "github:nix-community/NUR";
|
2024-04-04 01:41:19 +02:00
|
|
|
impermanence.url = "github:nix-community/impermanence";
|
2024-04-05 14:36:20 +02:00
|
|
|
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
2024-05-24 21:33:00 +02:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2024-04-05 14:36:20 +02:00
|
|
|
};
|
2024-08-28 18:21:04 +02:00
|
|
|
|
|
|
|
plasma-manager = {
|
|
|
|
url = "github:nix-community/plasma-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
inputs.home-manager.follows = "home-manager";
|
|
|
|
};
|
2024-04-04 01:41:19 +02:00
|
|
|
};
|
2023-06-18 22:52:24 +02:00
|
|
|
|
2024-08-28 18:21:04 +02:00
|
|
|
outputs = {
|
|
|
|
nixpkgs,
|
|
|
|
impermanence,
|
|
|
|
home-manager,
|
|
|
|
nur,
|
|
|
|
plasma-manager,
|
|
|
|
...
|
|
|
|
} @ inputs: let
|
|
|
|
lib = nixpkgs.lib.extend (final: prev:
|
|
|
|
import ./lib { lib = final; }
|
|
|
|
);
|
|
|
|
in {
|
|
|
|
nixosConfigurations = lib.mkHosts {
|
|
|
|
modules = [
|
|
|
|
home-manager.nixosModules.home-manager {
|
|
|
|
home-manager.sharedModules = [
|
|
|
|
nur.hmModules.nur
|
|
|
|
plasma-manager.homeManagerModules.plasma-manager
|
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
impermanence.nixosModules.impermanence
|
|
|
|
nur.nixosModules.nur
|
|
|
|
];
|
|
|
|
nixpkgs = nixpkgs;
|
|
|
|
inputs = inputs;
|
2023-06-18 22:52:24 +02:00
|
|
|
};
|
2024-08-28 18:21:04 +02:00
|
|
|
};
|
2023-06-18 22:52:24 +02:00
|
|
|
}
|
2024-05-24 21:33:00 +02:00
|
|
|
|