mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 16:23:57 +01:00
system: Add groups from phone
Might reduce this later.
This commit is contained in:
parent
510ddfe9d7
commit
8bb6a8a24e
@ -131,7 +131,16 @@ in
|
|||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
uid = 1000;
|
uid = 1000;
|
||||||
password = mkIf (hashedPassword == null && !noRoot) username;
|
password = mkIf (hashedPassword == null && !noRoot) username;
|
||||||
extraGroups = if noRoot then [ ] else [ "wheel" "networkmanager" ];
|
extraGroups =
|
||||||
|
if noRoot
|
||||||
|
then [ ]
|
||||||
|
else [
|
||||||
|
"dialout"
|
||||||
|
"feedbackd"
|
||||||
|
"video"
|
||||||
|
"wheel"
|
||||||
|
"networkmanager"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user