tvl-depot/users/tazjin/nixos/modules/home-config.nix
Vincent Ambo 6414aad6d8 fix(tazjin/nixos): let home-manager overwrite files
Chromium or something keeps barfing conflicting mime-types files, which causes
the entire home-manager activation to fail.

I'd be fine with it just overwriting those files, but couldn't be bothered to
figure out how to configure that, hence just use the fix from its error message.

Change-Id: I2e4e0807339dd426b3d99578d0d004529403a882
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11769
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2024-06-09 17:56:03 +00:00

21 lines
611 B
Nix

# 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.backupFileExtension = "backup";
home-manager.useGlobalPkgs = true;
home-manager.users.tazjin = with depot.users.tazjin;
home."${config.networking.hostName}" or home.shared;
}