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
|
|
|
};
|
|
|
|
|
|
|
|
aagl = {
|
|
|
|
url = "github:ezKEa/aagl-gtk-on-nix";
|
2024-05-24 21:33:00 +02:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2024-04-05 14:36:20 +02:00
|
|
|
};
|
2024-07-21 23:04:27 +02:00
|
|
|
|
|
|
|
hyprland = {
|
2024-07-26 19:46:46 +02:00
|
|
|
type = "git";
|
|
|
|
url = "https://github.com/hyprwm/Hyprland";
|
|
|
|
submodules = true;
|
2024-07-21 23:04:27 +02:00
|
|
|
};
|
2024-04-04 01:41:19 +02:00
|
|
|
};
|
2023-06-18 22:52:24 +02:00
|
|
|
|
2024-07-21 23:04:27 +02:00
|
|
|
outputs = { nixpkgs, impermanence, home-manager, aagl, nur, ... } @ inputs:
|
2024-07-25 21:24:28 +02:00
|
|
|
let
|
|
|
|
lib = nixpkgs.lib.extend (final: prev:
|
|
|
|
import ./lib { lib = final; }
|
|
|
|
);
|
|
|
|
in
|
2024-04-04 01:41:19 +02:00
|
|
|
{
|
2024-07-25 21:24:28 +02:00
|
|
|
nixosConfigurations = lib.mkHosts {
|
2024-05-24 21:33:00 +02:00
|
|
|
modules = [
|
|
|
|
home-manager.nixosModules.home-manager {
|
|
|
|
home-manager.sharedModules = [
|
|
|
|
nur.hmModules.nur
|
|
|
|
];
|
|
|
|
}
|
|
|
|
impermanence.nixosModules.impermanence
|
|
|
|
nur.nixosModules.nur
|
|
|
|
aagl.nixosModules.default
|
|
|
|
];
|
2024-07-25 21:24:28 +02:00
|
|
|
nixpkgs = nixpkgs;
|
|
|
|
inputs = inputs;
|
2024-04-04 01:41:19 +02:00
|
|
|
};
|
2023-06-18 22:52:24 +02:00
|
|
|
};
|
|
|
|
}
|
2024-05-24 21:33:00 +02:00
|
|
|
|