feat: add virt manager
This commit is contained in:
parent
906cb30ef2
commit
0ad2fe19e8
3 changed files with 43 additions and 1 deletions
|
|
@ -122,7 +122,10 @@
|
|||
users.users.heroz = {
|
||||
shell = pkgs.nushell;
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"libvirtd"
|
||||
]; # Enable ‘sudo’ for the user.
|
||||
packages = with pkgs; [
|
||||
gnomeExtensions.blur-my-shell
|
||||
gnomeExtensions.appindicator
|
||||
|
|
@ -137,6 +140,10 @@
|
|||
];
|
||||
};
|
||||
|
||||
virtualisation.libvirtd.enable = true;
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
programs.virt-manager.enable = true;
|
||||
|
||||
# List packages installed in system profile.
|
||||
# You can use https://search.nixos.org/ to find more packages (and options).
|
||||
# environment.systemPackages = with pkgs; [
|
||||
|
|
@ -162,6 +169,7 @@
|
|||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
networking.firewall.trustedInterfaces = [ "virbr0" ];
|
||||
|
||||
# Copy the NixOS configuration file and link it from the resulting system
|
||||
# (/run/current-system/configuration.nix). This is useful in case you
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue