diff options
Diffstat (limited to 'users/seth/base')
| -rw-r--r-- | users/seth/base/default.nix | 13 | ||||
| -rw-r--r-- | users/seth/base/standalone.nix | 26 |
2 files changed, 0 insertions, 39 deletions
diff --git a/users/seth/base/default.nix b/users/seth/base/default.nix deleted file mode 100644 index 7b97b51..0000000 --- a/users/seth/base/default.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ config, lib, ... }: -let - cfg = config.seth; -in -{ - options.seth = { - enable = lib.mkEnableOption "Seth's home configuration"; - }; - - imports = [ ./standalone.nix ]; - - config = lib.mkIf cfg.enable { home.stateVersion = "23.11"; }; -} diff --git a/users/seth/base/standalone.nix b/users/seth/base/standalone.nix deleted file mode 100644 index 884d3cc..0000000 --- a/users/seth/base/standalone.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: -let - cfg = config.seth.standalone; - enable = config.seth.enable && cfg.enable; -in -{ - options.seth.standalone = { - enable = lib.mkEnableOption "standalone configuration options"; - }; - - config = lib.mkIf enable { - _module.args.osConfig = { }; - programs.home-manager.enable = true; - - home = { - username = "seth"; - homeDirectory = - if pkgs.stdenv.isDarwin then "/Users/${config.home.username}" else "/home/${config.home.username}"; - }; - }; -} |
