2024-06-05 20:52:52 +02:00
|
|
|
{
|
|
|
|
inputs = {
|
2024-09-04 14:40:11 +02:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
2024-07-02 22:10:44 +02:00
|
|
|
ags.url = "github:Aylur/ags";
|
2024-07-05 17:38:02 +02:00
|
|
|
stylix.url = "github:danth/stylix";
|
2024-09-01 22:09:39 +02:00
|
|
|
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
2024-06-05 20:52:52 +02:00
|
|
|
|
2024-07-18 14:48:36 +02:00
|
|
|
firefox-addons = {
|
|
|
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2024-07-09 18:24:48 +02:00
|
|
|
};
|
2024-08-04 00:37:19 +02:00
|
|
|
|
2024-07-18 14:48:36 +02:00
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-09-01 21:04:36 +02:00
|
|
|
|
2024-07-08 13:44:01 +02:00
|
|
|
};
|
2024-06-05 20:52:52 +02:00
|
|
|
|
2024-08-21 09:02:49 +02:00
|
|
|
outputs = {
|
|
|
|
nixpkgs,
|
|
|
|
home-manager,
|
|
|
|
stylix,
|
2024-09-03 20:13:11 +02:00
|
|
|
hyprland,
|
2024-08-21 09:02:49 +02:00
|
|
|
...
|
|
|
|
} @ inputs: let
|
|
|
|
systemConfig = {modules}:
|
|
|
|
nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = {inherit inputs;};
|
|
|
|
modules = modules ++ [stylix.nixosModules.stylix];
|
|
|
|
};
|
2024-08-04 00:37:19 +02:00
|
|
|
in {
|
|
|
|
nixosConfigurations = {
|
|
|
|
desktop = systemConfig {
|
2024-08-21 09:02:49 +02:00
|
|
|
modules = [./hosts/desktop];
|
2024-08-04 00:37:19 +02:00
|
|
|
};
|
|
|
|
laptop = systemConfig {
|
2024-08-21 09:02:49 +02:00
|
|
|
modules = [./hosts/laptop];
|
2024-08-04 00:37:19 +02:00
|
|
|
};
|
2024-06-05 20:52:52 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|