add GNOME boxes

This commit is contained in:
Daniel Langbein 2023-10-12 22:38:03 +02:00
parent b70f7d437c
commit ef9aa584d7
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
5 changed files with 18 additions and 0 deletions

View File

@ -19,6 +19,7 @@
#../../modules/gnome-fractional-scaling.nix
#../../modules/programs.nix
#../../modules/boxes.nix
#../../modules/autostart.nix
#../../modules/wallpaper.nix
#../../modules/fwupd-gnome.nix

View File

@ -18,6 +18,7 @@
#../../modules/gnome-fractional-scaling.nix
../../modules/programs.nix
#../../modules/boxes.nix
../../modules/autostart.nix
../../modules/wallpaper.nix
../../modules/fwupd-gnome.nix

View File

@ -18,6 +18,7 @@
../../modules/gnome-fractional-scaling.nix
../../modules/programs.nix
../../modules/boxes.nix
../../modules/autostart.nix
../../modules/wallpaper.nix
../../modules/fwupd-gnome.nix

View File

@ -19,6 +19,7 @@
#../../modules/gnome-fractional-scaling.nix
#../../modules/programs.nix
#../../modules/boxes.nix
#../../modules/autostart.nix
#../../modules/wallpaper.nix
#../../modules/fwupd-gnome.nix

14
modules/boxes.nix Normal file
View File

@ -0,0 +1,14 @@
{ config, pkgs, ... }:
{
# https://nixos.wiki/wiki/Libvirt
# libvirt is a dependency of GNOME Boxes
virtualisation.libvirtd.enable = true;
users.users.yoda = {
extraGroups = [ "libvirtd" ];
packages = with pkgs; [
gnome.gnome-boxes # Virtual machines
];
};
}