fix path
This commit is contained in:
1 parent
32f84fd69e
commit
9f6688b397
2 files changed
+5
-5
No files matched your search
@@ -0,0 +1,26 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
username = "minecraft"; #FIXME
|
||||
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
|
||||
in {
|
||||
users.users.${username} = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ifTheyExist [
|
||||
"minecraft"
|
||||
];
|
||||
|
||||
#packages = [pkgs.home-manager];
|
||||
};
|
||||
|
||||
|
||||
home-manager.users.${username} = import ../../../../../home/Winter/servers/${username}.nix;
|
||||
|
||||
security.pam.services = {
|
||||
swaylock = {};
|
||||
${username}.enableGnomeKeyring = true;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user