mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 19:47:47 +00:00
Add theme and hyprland to options
This commit is contained in:
parent
0aa423e152
commit
9a78668ebd
1 changed files with 9 additions and 6 deletions
15
flake.nix
15
flake.nix
|
@ -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;
|
lib = nixpkgs.lib;
|
||||||
|
|
||||||
ulib = rec {
|
ulib = rec {
|
||||||
|
@ -76,6 +76,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
theme = import ./themes/gruvbox.nix;
|
||||||
|
|
||||||
|
hyprland = inputs.hyprland.packages.${system}.default;
|
||||||
|
|
||||||
defaultConfiguration = host: ulib.systemConfiguration {
|
defaultConfiguration = host: ulib.systemConfiguration {
|
||||||
nix.gc = {
|
nix.gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
|
@ -95,10 +99,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [ fenix.overlays.default ];
|
||||||
fenix.overlays.default
|
|
||||||
hyprland.overlays.default
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.defaultPackages = [];
|
environment.defaultPackages = [];
|
||||||
|
|
||||||
|
@ -109,7 +110,9 @@
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
specialArgs = ulib;
|
specialArgs = {
|
||||||
|
inherit ulib theme hyprland;
|
||||||
|
};
|
||||||
|
|
||||||
importConfiguration = host: lib.nixosSystem {
|
importConfiguration = host: lib.nixosSystem {
|
||||||
inherit specialArgs;
|
inherit specialArgs;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue