summaryrefslogtreecommitdiff
path: root/modules/shared/users/seth.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/shared/users/seth.nix')
-rw-r--r--modules/shared/users/seth.nix35
1 files changed, 0 insertions, 35 deletions
diff --git a/modules/shared/users/seth.nix b/modules/shared/users/seth.nix
deleted file mode 100644
index 0c98fc9..0000000
--- a/modules/shared/users/seth.nix
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- config,
- lib,
- pkgs,
- ...
-}: let
- cfg = config.users.seth;
-in {
- options.users.seth = {
- enable = lib.mkEnableOption "Seth's configuration & home";
- };
-
- config = lib.mkIf cfg.enable {
- users.users.seth =
- {
- shell = pkgs.fish;
- home = lib.mkDefault (
- if pkgs.stdenv.isDarwin
- then "/Users/seth"
- else "/home/seth"
- );
- }
- // lib.optionalAttrs pkgs.stdenv.isLinux {
- extraGroups = ["wheel"];
- isNormalUser = true;
- hashedPasswordFile = lib.mkDefault config.age.secrets.sethPassword.path;
- };
-
- programs.fish.enable = lib.mkDefault true;
-
- home-manager.users.seth = {
- imports = [../../../users/seth];
- };
- };
-}