extraGroups -> groups
This commit is contained in:
parent
dad753c5b7
commit
ec6d7555a4
|
@ -14,7 +14,7 @@
|
|||
|
||||
# Being a member of the docker group is effectively equivalent to being root,
|
||||
# but without the annoyance of having to type your sudo password all the time.
|
||||
users.extraGroups.docker.members = ["caspervk"];
|
||||
users.groups.docker.members = ["caspervk"];
|
||||
|
||||
# Persist docker volumes
|
||||
environment.persistence."/nix/persist" = {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
extraGroups = [
|
||||
"wheel" # allows sudo
|
||||
"video" # allows controlling brightness
|
||||
# todo: systemd-journal, audio, input, power, nix ?
|
||||
# TODO: systemd-journal, audio, input, power, nix ?
|
||||
];
|
||||
uid = 1000;
|
||||
packages = with pkgs; [];
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
};
|
||||
|
||||
# Allow our user to configure the network
|
||||
users.extraGroups.networkmanager.members = ["caspervk"];
|
||||
users.groups.networkmanager.members = ["caspervk"];
|
||||
|
||||
# Persist WiFi passwords and other network configuration
|
||||
environment.persistence."/nix/persist" = {
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
};
|
||||
|
||||
# Allow our user to use libvird
|
||||
users.extraGroups.libvirtd.members = ["caspervk"];
|
||||
users.groups.libvirtd.members = ["caspervk"];
|
||||
|
||||
# Persist libvirt data
|
||||
environment.persistence."/nix/persist" = {
|
||||
|
|
Loading…
Reference in a new issue