2022-05-09 16:50:59 +02:00
|
|
|
# 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;
|
2022-06-13 13:21:08 +02:00
|
|
|
initialHashedPassword = "$2b$05$1eBPdoIgan/C/L8JFqIHBuVscQyTKw1L/4VBlzlLvLBEf6CXS3EW6";
|
2022-05-09 16:50:59 +02:00
|
|
|
};
|
|
|
|
|
2022-08-25 14:54:32 +02:00
|
|
|
nix.settings.trusted-users = [ "tazjin" ];
|
2022-05-09 16:50:59 +02:00
|
|
|
|
2024-06-09 18:56:41 +02:00
|
|
|
home-manager.backupFileExtension = "backup";
|
2022-05-09 16:50:59 +02:00
|
|
|
home-manager.useGlobalPkgs = true;
|
2024-06-09 12:04:26 +02:00
|
|
|
home-manager.users.tazjin = with depot.users.tazjin;
|
|
|
|
home."${config.networking.hostName}" or home.shared;
|
2022-05-09 16:50:59 +02:00
|
|
|
}
|