summaryrefslogtreecommitdiff
path: root/users/seth/default.nix
blob: c3241d02a07c037517c0dfbacdb6e9a2b3ce355f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  pkgs,
  specialArgs,
  user,
  system ? "x86_64-linux",
}: let
  common = {
    username = "seth";
    stateVersion = "23.05";
  };
in
  with user; {
    hm.seth = mkHMUser {
      inherit (common) username stateVersion;
      inherit system;
      channel = pkgs;
      extraSpecialArgs = {
        standalone = true;
        desktop = "";
      };
    };

    system = mkUser {
      inherit (common) username stateVersion;
      inherit system;
      extraGroups = ["wheel"];
      extraModules = [
        {
          programs.fish.enable = true;
        }
      ];
      extraSpecialArgs = specialArgs;
      hashedPassword = "***REMOVED***";
      shell = pkgs.legacyPackages.${system}.fish;
      hm = true;
    };
  }