diff options
| author | seth <[email protected]> | 2023-10-01 10:41:09 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-10-01 10:49:46 -0400 |
| commit | a8630322f77dbb7be4810099a42352b9278996a1 (patch) | |
| tree | b8df66a7e5b9d8c31b27a4a9b357ff7e4b9d418f /users/seth/default.nix | |
| parent | 30f55e656d344e017f66ecbae8eb27cf13ba53bb (diff) | |
treewide!: flatten to parts/ layout
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; - }; -} |
