diff options
Diffstat (limited to 'users/seth/default.nix')
| -rw-r--r-- | users/seth/default.nix | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/users/seth/default.nix b/users/seth/default.nix deleted file mode 100644 index 2e7e106..0000000 --- a/users/seth/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ - config, - lib, - pkgs, - arkenfox, - nix-index-database, - ... -}: { - users.users.seth = let - inherit (pkgs.stdenv) isLinux isDarwin; - in - lib.recursiveUpdate { - shell = pkgs.fish; - home = lib.optionalString (isLinux || isDarwin) ( - if isLinux - then "/home/seth" - else "/Users/seth" - ); - } (lib.optionalAttrs pkgs.stdenv.isLinux { - extraGroups = lib.optional pkgs.stdenv.isLinux "wheel"; - isNormalUser = true; - hashedPasswordFile = config.age.secrets.sethPassword.path; - }); - - programs.fish.enable = true; - - home-manager = { - useGlobalPkgs = true; - useUserPackages = true; - }; - - home-manager.users.seth = { - imports = [ - ./home.nix - ./module.nix - arkenfox.hmModules.arkenfox - nix-index-database.hmModules.nix-index - ]; - - nixpkgs.overlays = config.nixpkgs.overlays; - }; -} |
