about summary refs log tree commit diff
path: root/users/tazjin/nixos/modules/home-config.nix
blob: 2445afbb52c25c3d4747020a2348a33ed99fb036 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Inject the right home-manager config for the machine.

{ config, depot, pkgs, ... }:

{
  users.users.tazjin = {
    isNormalUser = true;
    createHome = true;
    extraGroups = [ "wheel" "networkmanager" "video" "adbusers" ];
    uid = 1000;
    shell = pkgs.fish;
    initialHashedPassword = "$6$d3FywUNCuZnJ4l.$ZW2ul59MLYon1v1xhC3lTJZfZ91lWW6Tpi13MpME0cJcYZNrsx7ABdgQRn.K05awruG2Y9ARAzURnmiJ31WTS1h";
  };

  nix = {
    trustedUsers = [ "tazjin" ];
  };

  home-manager.useGlobalPkgs = true;
  home-manager.users.tazjin = depot.users.tazjin.home."${config.networking.hostName}";
}