flake: inherit explicitly from parts of lib

Instead of doing `inherit (lib) <something>``, all inherits now use
`inherit (lib.<subsystem>) <something>`, which is much nicer.
This commit is contained in:
Bloxx12 2025-04-09 15:31:18 +02:00
commit 53aaa26fa1
29 changed files with 67 additions and 45 deletions

View file

@ -5,7 +5,8 @@
}: let
cfg = config.modules.programs.nh;
inherit (config.modules.other.system) username;
inherit (lib) mkEnableOption mkIf;
inherit (lib.modules) mkIf;
inherit (lib.options) mkEnableOption;
in {
options.modules.programs.nh.enable = mkEnableOption "nh";