about summary refs log blame commit diff
path: root/users/tazjin/nixos/modules/home-config.nix
blob: 8e85847b746c86e840e2c6ca48ac7ffbab01ba67 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                  
                                                                                           

    
                                            

                                    

                                                        
 
# 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 = "$2b$05$1eBPdoIgan/C/L8JFqIHBuVscQyTKw1L/4VBlzlLvLBEf6CXS3EW6";
  };

  nix.settings.trusted-users = [ "tazjin" ];

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