astora: virtualization
All checks were successful
nix / check (push) Successful in 1m37s

This commit is contained in:
L-Nafaryus 2024-05-17 18:28:04 +05:00
parent 3e8c2fc23f
commit e7626516bd
Signed by: L-Nafaryus
GPG Key ID: 582F8B0866B294A1
2 changed files with 15 additions and 1 deletions

View File

@ -157,5 +157,6 @@
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
};
libvirtd.enable = true;
};
}

View File

@ -4,7 +4,7 @@
users.users.l-nafaryus = {
isNormalUser = true;
description = "L-Nafaryus";
extraGroups = [ "networkmanager" "wheel" "audio" ];
extraGroups = [ "networkmanager" "wheel" "audio" "libvirtd" ];
group = "users";
uid = 1000;
initialPassword = "nixos";
@ -90,6 +90,8 @@
liberation_ttf
steamtinkerlaunch
];
xdg = {
@ -97,6 +99,13 @@
mime.enable = true;
};
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = [ "qemu:///system" ];
uris = [ "qemu:///system" ];
};
};
home.file = {
".config/gnupg/gpg-agent.conf".text = ''
default-cache-ttl 3600
@ -132,6 +141,10 @@
};
systemd.user.extraConfig = "DefaultLimitNOFILE=524288";
programs.virt-manager.enable = true;
# Services
services.spoofdpi.enable = true;