fix
This commit is contained in:
1 parent
c10382bd7f
commit
86bac5930e
2 files changed
-49
No files matched your search
@@ -1,26 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
username = "Ekisha";
|
|
||||||
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
|
|
||||||
in {
|
|
||||||
users.users.${username} = {
|
|
||||||
isNormalUser = true;
|
|
||||||
extraGroups = ifTheyExist [
|
|
||||||
"audio"
|
|
||||||
"libvirtd"
|
|
||||||
"minecraft"
|
|
||||||
"video"
|
|
||||||
];
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
home-manager.users.${username} = import ../../../../home/${username}/${config.networking.hostName}.nix;
|
|
||||||
|
|
||||||
security.pam.services = {
|
|
||||||
swaylock = {};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
username = "Tester";
|
|
||||||
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
|
|
||||||
in {
|
|
||||||
users.users.${username} = {
|
|
||||||
isNormalUser = true;
|
|
||||||
extraGroups = ifTheyExist [
|
|
||||||
];
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
# TODO: ensure correct paths
|
|
||||||
home-manager.users.${username} = import ../../../../home/${username}/${config.networking.hostName}.nix;
|
|
||||||
|
|
||||||
security.pam.services = {
|
|
||||||
swaylock = {};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Reference in new issue
Block a user