summaryrefslogtreecommitdiff
path: root/parts/users/seth/system.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-10-30 04:22:32 -0400
committerseth <[email protected]>2023-10-30 09:46:15 +0000
commit10b0df38b4286237b56ff9177f8d4c5676bfb5c1 (patch)
treeab298c74339bf9bc41571fa88746ecd9c522fbdf /parts/users/seth/system.nix
parent4c2c60a4f2b14c1e6ffaffe5e301dc31ac4fed0f (diff)
tree-wide: refactor
i went overboard on modules. this is much comfier
Diffstat (limited to 'parts/users/seth/system.nix')
-rw-r--r--parts/users/seth/system.nix30
1 files changed, 0 insertions, 30 deletions
diff --git a/parts/users/seth/system.nix b/parts/users/seth/system.nix
deleted file mode 100644
index f3957c7..0000000
--- a/parts/users/seth/system.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- config,
- lib,
- pkgs,
- ...
-}: {
- users.users.seth = let
- inherit (pkgs.stdenv.hostPlatform) isLinux isDarwin;
- in
- lib.recursiveUpdate
- {
- shell = pkgs.fish;
- home =
- if isDarwin
- then "/Users/seth"
- else "/home/seth";
- }
- (lib.optionalAttrs isLinux {
- extraGroups = ["wheel"];
- isNormalUser = true;
- hashedPasswordFile = config.age.secrets.sethPassword.path;
- });
-
- programs.fish.enable = true;
-
- home-manager.users.seth = {
- imports = [./.];
- nixpkgs.overlays = config.nixpkgs.overlays;
- };
-}