diff options
Diffstat (limited to 'users/seth/base/default.nix')
| -rw-r--r-- | users/seth/base/default.nix | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/users/seth/base/default.nix b/users/seth/base/default.nix index b6c7571..7b97b51 100644 --- a/users/seth/base/default.nix +++ b/users/seth/base/default.nix @@ -1,19 +1,13 @@ -{ - config, - lib, - ... -}: let +{ config, lib, ... }: +let cfg = config.seth; -in { +in +{ options.seth = { enable = lib.mkEnableOption "Seth's home configuration"; }; - imports = [ - ./standalone.nix - ]; + imports = [ ./standalone.nix ]; - config = lib.mkIf cfg.enable { - home.stateVersion = "23.11"; - }; + config = lib.mkIf cfg.enable { home.stateVersion = "23.11"; }; } |
