diff --git a/modules/base/docker.nix b/modules/base/docker.nix index 151c372..a95117e 100644 --- a/modules/base/docker.nix +++ b/modules/base/docker.nix @@ -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" = { diff --git a/modules/base/users.nix b/modules/base/users.nix index 1b3f145..6332ef7 100644 --- a/modules/base/users.nix +++ b/modules/base/users.nix @@ -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; []; diff --git a/modules/desktop/network.nix b/modules/desktop/network.nix index ba920fe..40a2c36 100644 --- a/modules/desktop/network.nix +++ b/modules/desktop/network.nix @@ -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" = { diff --git a/modules/desktop/virtd.nix b/modules/desktop/virtd.nix index ed4812e..1a05463 100644 --- a/modules/desktop/virtd.nix +++ b/modules/desktop/virtd.nix @@ -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" = {