nixos-config/users/rouven/default.nix
2023-05-20 13:20:05 +02:00

23 lines
634 B
Nix

{ config, ... }:
{
imports = [ ./fixes.nix ];
nixpkgs.config.allowUnfree = true;
users.users.rouven = {
isNormalUser = true;
extraGroups = [ "wheel" "video" "libvirtd" ];
initialHashedPassword = "$6$X3XERQv28Nt1UUT5$MjdMBDuXyEwexkuKqmNFweez69q4enY5cjMXSbBxOc6Bq7Fhhp7OqmCm02k3OGjoZFXzPV9ZHuMSGKZOtwYIk1";
};
home-manager.useUserPackages = true;
home-manager.useGlobalPkgs = true;
home-manager.users.rouven = { ... }: {
imports = [ ./modules ];
config = {
home.username = "rouven";
home.homeDirectory = "/home/rouven";
home.stateVersion = config.system.stateVersion;
};
};
}