maybe modifying how the attrset merges in config will help

This commit is contained in:
Squibid 2025-12-04 13:24:47 -05:00
parent 87747d15e3
commit 5e27e23c3d
Signed by: squibid
GPG key ID: BECE5684D3C4005D
2 changed files with 25 additions and 5 deletions

View file

@ -16,7 +16,8 @@
in {
lib = builtins.import ./lib.nix { pkgs = nixpkgs; };
nixosModules.fooud = { pkgs, lib, config, inputs, ... }: {
options.programs.fooud.enable = lib.mkEnableOption ("fooud") // { default = true; };
options.programs.fooud.enable = lib.mkEnableOption ("fooud")
// { default = true; };
config = lib.mkIf config.programs.fooud.enable {
environment.systemPackages = [ package ];
};