diff options
Diffstat (limited to 'modules/shared/traits/users/seth.nix')
| -rw-r--r-- | modules/shared/traits/users/seth.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/shared/traits/users/seth.nix b/modules/shared/traits/users/seth.nix index 136a343..b5f330d 100644 --- a/modules/shared/traits/users/seth.nix +++ b/modules/shared/traits/users/seth.nix @@ -3,9 +3,11 @@ lib, pkgs, ... -}: let +}: +let cfg = config.traits.users.seth; -in { +in +{ options.traits.users.seth = { enable = lib.mkEnableOption "Seth's user & home configurations"; }; @@ -17,7 +19,7 @@ in { programs.fish.enable = true; home-manager.users.seth = { - imports = [../../../../users/seth]; + imports = [ ../../../../users/seth ]; seth = { enable = true; shell.fish.enable = true; @@ -33,7 +35,7 @@ in { (lib.mkIf (cfg.enable && pkgs.stdenv.isLinux) { users.users.seth = { - extraGroups = ["wheel"]; + extraGroups = [ "wheel" ]; isNormalUser = true; }; }) |
