mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-08-19 19:05:22 +02:00
system: Add groups from phone
Might reduce this later.
This commit is contained in:
@@ -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"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user