grimm-nixos-laptop/users.nix

50 lines
929 B
Nix
Raw 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-11 22:55:59 +02:00
packages = lib.optionals config.grimmShared.graphical (
2024-05-08 21:50:08 +02:00
with pkgs;
2024-05-11 22:55:59 +02:00
[
2024-05-31 17:33:40 +02:00
vesktop
2024-05-08 21:50:08 +02:00
obs-studio
2024-11-26 19:20:10 +01:00
# element-desktop
# ghidra
2024-05-25 23:14:08 +02:00
rmview
2024-05-11 22:55:59 +02:00
]
);
2023-11-28 23:24:43 +01:00
};
}