grimm-nixos-laptop/users.nix

50 lines
921 B
Nix
Raw Permalink Normal View History

2024-05-07 23:31:41 +02:00
{
lib,
config,
pkgs,
...
}:
{
2023-11-28 23:24:43 +01:00
users.users.grimmauld = {
isNormalUser = true;
2024-04-18 21:16:40 +02:00
# shell = pkgs.xonsh;
2023-11-28 23:24:43 +01:00
description = "grimmauld";
2024-05-08 21:49:37 +02:00
openssh.authorizedKeys.keys = (import ./authorizedKeys.nix);
extraGroups = lib.intersectLists (lib.attrNames config.users.groups) [
2024-04-26 10:25:17 +02:00
"networkmanager"
"kvm"
"wheel"
2024-05-08 21:49:37 +02:00
"docker"
2024-04-26 10:25:17 +02:00
"input"
"video"
"lp"
"scanner"
"libvirt"
"libvirt-qemu"
"libvirtd"
"pipewire"
"gamemode"
"i2c"
]; # only add to groups that actually exist on this system
syncPaths = [
{ remote = "3d"; }
{ remote = "Pictures"; }
{ remote = "Documents"; }
{ remote = "Videos"; }
];
2024-05-08 21:50:08 +02:00
packages =
with pkgs;
lib.optionals config.grimmShared.graphical [
webcord
discord
obs-studio
element-desktop
ghidra
# rmview
];
2023-11-28 23:24:43 +01:00
};
}