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);
|
2024-05-08 19:47:14 +02:00
|
|
|
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"
|
2024-05-08 19:47:14 +02:00
|
|
|
]; # only add to groups that actually exist on this system
|
2024-03-26 15:24:07 +01:00
|
|
|
|
|
|
|
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-10-22 22:05:22 +02: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
|
|
|
};
|
|
|
|
}
|