mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-23 02:36:05 +01:00
update GNOME boxes
This commit is contained in:
parent
dc1f4a89bd
commit
4a299f3bf0
@ -1,14 +1,24 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
# https://nixos.wiki/wiki/Libvirt
|
||||
# View log since last boot:
|
||||
# journalctl -b SYSLOG_IDENTIFIER=org.gnome.Boxes
|
||||
|
||||
# Open issue: HiDPI support. https://gitlab.gnome.org/GNOME/gnome-boxes/-/issues/635
|
||||
|
||||
# libvirt is a dependency of GNOME Boxes
|
||||
virtualisation.libvirtd.enable = true;
|
||||
users.users.yoda = {
|
||||
extraGroups = [ "libvirtd" ];
|
||||
|
||||
packages = with pkgs; [
|
||||
gnome.gnome-boxes # Virtual machines
|
||||
];
|
||||
};
|
||||
|
||||
# libvirt is a dependency of GNOME Boxes
|
||||
# https://nixos.wiki/wiki/Libvirt
|
||||
virtualisation.libvirtd.enable = true;
|
||||
users.users.yoda.extraGroups = [ "libvirtd" ];
|
||||
|
||||
# Required for USB redirection to work, see
|
||||
# https://github.com/NixOS/nixpkgs/issues/39129#issuecomment-382569032
|
||||
# https://www.reddit.com/r/NixOS/comments/177wcyi/comment/k4vok4n/
|
||||
security.polkit.enable = true;
|
||||
virtualisation.spiceUSBRedirection.enable = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user