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