diff options
-rw-r--r-- | modules/virt/qemu.nix | 1 | ||||
-rw-r--r-- | system/bluetooth.nix | 1 | ||||
-rw-r--r-- | system/default.nix | 2 | ||||
-rw-r--r-- | system/desktop.nix | 1 |
4 files changed, 4 insertions, 1 deletions
diff --git a/modules/virt/qemu.nix b/modules/virt/qemu.nix index f5d9d24..f755952 100644 --- a/modules/virt/qemu.nix +++ b/modules/virt/qemu.nix @@ -9,6 +9,7 @@ in { config = mkIf cfg.qemu { programs.virt-manager.enable = true; + users.groups.kvm.members = [config.user]; users.groups.libvirtd.members = [config.user]; virtualisation.libvirtd.enable = true; virtualisation.spiceUSBRedirection.enable = true; diff --git a/system/bluetooth.nix b/system/bluetooth.nix index 2015eb6..7043cc3 100644 --- a/system/bluetooth.nix +++ b/system/bluetooth.nix @@ -8,5 +8,6 @@ in { config = mkIf config.bluetooth { hardware.bluetooth.enable = true; services.blueman.enable = true; + users.groups.bluetooth.members = [config.user]; }; } diff --git a/system/default.nix b/system/default.nix index 36d11ee..b272958 100644 --- a/system/default.nix +++ b/system/default.nix @@ -75,7 +75,7 @@ users.users.${config.user} = { isNormalUser = true; description = config.fullName; - extraGroups = ["wheel" "sys" "video" "audio"]; + extraGroups = ["wheel" "tty"]; home = config.homePath; shell = pkgs.zsh; }; diff --git a/system/desktop.nix b/system/desktop.nix index bc6daba..71562e8 100644 --- a/system/desktop.nix +++ b/system/desktop.nix @@ -37,5 +37,6 @@ in { nssmdns4 = true; openFirewall = true; }; + users.groups.lp.members = [config.user]; }; } |