summaryrefslogtreecommitdiff
path: root/users/seth/default.nix
blob: 140eac8d5b6a7bbcb1ca9be7faac041ce9c7af21 (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
38
39
{
  pkgs,
  specialArgs,
  user,
  system ? "x86_64-linux",
  nixpkgsStable,
}: let
  common = {
    username = "seth";
    stateVersion = "23.05";
  };
in
  with user; {
    hm.seth = mkHMUser {
      inherit (common) username stateVersion;
      inherit system;
      channel = pkgs;
      extraSpecialArgs = {
        inherit nixpkgsStable;
        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;
    };
  }