nix-infra/modules/users/default.nix

21 lines
478 B
Nix
Raw Normal View History

2024-03-24 18:02:25 +00:00
{ lib
, config
, pkgs
, ...
2024-03-24 18:02:22 +00:00
}: {
users.users = {
sammy = {
isNormalUser = true;
2024-03-24 18:02:25 +00:00
extraGroups = [ "networkmanager" "wheel" "docker" ];
shell = pkgs.fish;
ignoreShellProgramCheck = true;
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJZyQSZw+pExsx2RXB+yxbaJGB9mtvudbQ/BP7E1yKvr openpgp:0x6068FEBB" ];
2024-03-24 18:02:22 +00:00
};
};
2024-03-24 18:02:23 +00:00
home-manager.useUserPackages = true;
2024-03-24 18:02:22 +00:00
home-manager.users = {
2024-03-24 18:02:25 +00:00
sammy.imports = [ ./sammy.nix ];
2024-03-24 18:02:22 +00:00
};
}