It works now
This commit is contained in:
parent
d6b8d3e30f
commit
16236b53e7
@ -5,7 +5,7 @@ with lib; let
|
||||
in {
|
||||
options.user.cameron = {
|
||||
enable = mkEnableOption "user cameron";
|
||||
}
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
users = {
|
||||
@ -17,7 +17,8 @@ in {
|
||||
|
||||
uid = 1000;
|
||||
group = "cameron";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
extraGroups = [ "wheel" ] ++
|
||||
(lib.optionals config.networking.networkmanager.enable [ "networkmanager" ]);
|
||||
|
||||
home = "/home/cameron-nix";
|
||||
createHome = true;
|
||||
|
Loading…
Reference in New Issue
Block a user