nix/common/users.nix
2026-08-25 14:00:05 +02:00

29 lines
716 B
Nix

{ home-manager, inputs, filter, ... }:
{
imports = [
../util/profile-icons.nix
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit inputs filter; };
home-manager.users.strix = ./home.nix;
}
];
users.users."strix" = {
isNormalUser = true;
icon = "${./common/profile.png}";
description = "Strix";
initialPassword = "changeme";
extraGroups = [
"wheel"
"networkmanager"
"libvirtd"
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMjsxlXIgj0sPuzjgfeqAfe1gTNAeFpAext2wbfjOLPE"
];
};
}