set groups in the module files
This commit is contained in:
@@ -155,6 +155,7 @@
|
||||
./modules/virt-manager.nix
|
||||
./modules/vmware-host.nix
|
||||
./modules/ssh.nix
|
||||
./modules/wireshark.nix
|
||||
#./modules/static-ip.nix
|
||||
#./modules/no-sleep-lid-closed.nix
|
||||
#./modules/wake-on-lan.nix
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.dconf.enable = true; # virt-manager requires dconf to remember settings
|
||||
environment.systemPackages = with pkgs; [ virt-manager virtiofsd ];
|
||||
@@ -16,4 +16,5 @@
|
||||
spiceUSBRedirection.enable = true;
|
||||
};
|
||||
services.spice-vdagentd.enable = true;
|
||||
users.users.${config.mainUser.name}.extraGroups = [ "libvirtd" ];
|
||||
}
|
||||
|
||||
@@ -2,4 +2,6 @@
|
||||
{
|
||||
programs.wireshark.enable = true;
|
||||
programs.wireshark.package = pkgs.wireshark;
|
||||
|
||||
users.users.${config.mainUser.name}.extraGroups = [ "wireshark" ];
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
isNormalUser = true;
|
||||
description = config.mainUser.name;
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [ "networkmanager" "wheel" "docker" "libvirtd" ];
|
||||
extraGroups = [ "networkmanager" "wheel" "docker" ];
|
||||
packages = with pkgs; [
|
||||
(discord.override { withVencord = true; })
|
||||
librewolf
|
||||
|
||||
Reference in New Issue
Block a user