1
Fork 0
nixos-system-config/flake.nix
caem ea199534e0
This commit is a byproduct of your imagination
This does not exist. Take your pills and move on with your day.
2024-11-05 13:50:01 +01:00

55 lines
1.2 KiB
Nix

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nur.url = "github:nix-community/NUR";
impermanence.url = "github:nix-community/impermanence";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
plasma-manager = {
url = "github:nix-community/plasma-manager";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
aagl = {
url = "github:ezKEa/aagl-gtk-on-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
nixpkgs,
impermanence,
home-manager,
nur,
plasma-manager,
aagl,
...
} @ 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;
};
};
}