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; dockerCompat = true;
defaultNetwork.settings.dns_enabled = true; defaultNetwork.settings.dns_enabled = true;
}; };
libvirtd.enable = true;
}; };
} }

View File

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