summaryrefslogtreecommitdiff
path: root/parts/users/seth/system.nix
diff options
context:
space:
mode:
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;
- };
-}