feat(nixos): Added uid and gid to users
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
This commit is contained in:
@@ -342,6 +342,14 @@
|
||||
if isDarwin
|
||||
then "/Users/${device.user}"
|
||||
else "/home/${device.user}";
|
||||
uid =
|
||||
if (builtins.hasAttr "uid" device)
|
||||
then device.uid
|
||||
else 1000;
|
||||
gid =
|
||||
if (builtins.hasAttr "gid" device)
|
||||
then device.gid
|
||||
else 1000;
|
||||
# output =
|
||||
# if isDarwin
|
||||
# then self.darwinConfigurations."${device.name}"
|
||||
|
||||
Reference in New Issue
Block a user