extraGroups -> groups

This commit is contained in:
Casper V. Kristensen 2024-04-06 01:20:19 +02:00
parent dad753c5b7
commit ec6d7555a4
4 changed files with 4 additions and 4 deletions

View file

@ -14,7 +14,7 @@
# Being a member of the docker group is effectively equivalent to being root, # 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. # 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 # Persist docker volumes
environment.persistence."/nix/persist" = { environment.persistence."/nix/persist" = {

View file

@ -19,7 +19,7 @@
extraGroups = [ extraGroups = [
"wheel" # allows sudo "wheel" # allows sudo
"video" # allows controlling brightness "video" # allows controlling brightness
# todo: systemd-journal, audio, input, power, nix ? # TODO: systemd-journal, audio, input, power, nix ?
]; ];
uid = 1000; uid = 1000;
packages = with pkgs; []; packages = with pkgs; [];

View file

@ -9,7 +9,7 @@
}; };
# Allow our user to configure the network # Allow our user to configure the network
users.extraGroups.networkmanager.members = ["caspervk"]; users.groups.networkmanager.members = ["caspervk"];
# Persist WiFi passwords and other network configuration # Persist WiFi passwords and other network configuration
environment.persistence."/nix/persist" = { environment.persistence."/nix/persist" = {

View file

@ -15,7 +15,7 @@
}; };
# Allow our user to use libvird # Allow our user to use libvird
users.extraGroups.libvirtd.members = ["caspervk"]; users.groups.libvirtd.members = ["caspervk"];
# Persist libvirt data # Persist libvirt data
environment.persistence."/nix/persist" = { environment.persistence."/nix/persist" = {