diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-01-23 17:04:19 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-01-23 17:04:19 +0900 |
| commit | 134247b57d2ff93c7b70815158474d94bed1074b (patch) | |
| tree | ffbe509e339a521b3ba58cd9d89a335e18bef564 /options.nix | |
| parent | b5bb7654da074dc92c354582d086b68d2d45024c (diff) | |
nix: configure target users via nixos
This makes patching home-manager no longer necessary.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'options.nix')
| -rw-r--r-- | options.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/options.nix b/options.nix index 616b24cf..578c7fd3 100644 --- a/options.nix +++ b/options.nix @@ -26,6 +26,17 @@ in ''; }; + home-manager = mkOption { + type = + let + inherit (types) functionTo attrsOf anything; + in + functionTo (functionTo (attrsOf anything)); + description = '' + Target user shared home-manager configuration. + ''; + }; + apps = mkOption { type = let @@ -50,6 +61,8 @@ in ''; }; + verbose = mkEnableOption "launchers with verbose output"; + id = mkOption { type = nullOr str; default = null; |
