1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +00:00

Add theme and hyprland to options

This commit is contained in:
RGBCube 2023-11-23 15:54:40 +03:00
parent 0aa423e152
commit 9a78668ebd
No known key found for this signature in database

View file

@ -37,7 +37,7 @@
};
};
outputs = { nixpkgs, homeManager, utils, fenix, hyprland, ... }: utils.lib.eachDefaultSystem (system: let
outputs = { nixpkgs, homeManager, utils, fenix, ... } @ inputs: utils.lib.eachDefaultSystem (system: let
lib = nixpkgs.lib;
ulib = rec {
@ -76,6 +76,10 @@
};
};
theme = import ./themes/gruvbox.nix;
hyprland = inputs.hyprland.packages.${system}.default;
defaultConfiguration = host: ulib.systemConfiguration {
nix.gc = {
automatic = true;
@ -95,10 +99,7 @@
];
nixpkgs.config.allowUnfree = true;
nixpkgs.overlays = [
fenix.overlays.default
hyprland.overlays.default
];
nixpkgs.overlays = [ fenix.overlays.default ];
environment.defaultPackages = [];
@ -109,7 +110,9 @@
home-manager.useUserPackages = true;
};
specialArgs = ulib;
specialArgs = {
inherit ulib theme hyprland;
};
importConfiguration = host: lib.nixosSystem {
inherit specialArgs;