This commit is contained in:
dusk 2023-01-26 14:41:23 +03:00
parent f53e874482
commit ac9730653a
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
5 changed files with 15 additions and 4 deletions

View File

@ -1 +0,0 @@
../../../modules/gnome-boxes/default.nix

View File

@ -0,0 +1 @@
../../../modules/libvirtd/default.nix

View File

@ -1,4 +1,4 @@
{pkgs, ...}: {
virtualisation.libvirtd.enable = true;
imports = [../libvirtd];
environment.systemPackages = [pkgs.gnome.gnome-boxes];
}

View File

@ -0,0 +1,7 @@
{config, ...}: {
virtualisation.libvirtd.enable = true;
environment.persistence."${config.system.persistDir}".directories = [
"/var/lib/libvirt"
"/var/lib/machines"
];
}

View File

@ -28,11 +28,17 @@ in {
};
environment = {
persistence.${config.system.persistDir}.directories = l.flatten [
# because steam will be fucked otherwise
(l.optional nixosConfig.programs.steam.enable "/home/patriot/.local/share/Steam")
# because cargo doesnt work otherwise
"/home/patriot/.cargo"
# same thing since i work with cargo and other shit
"/home/patriot/proj"
# same thing as steam
"/home/patriot/games"
# flatpak stuff
"/home/patriot/.var"
# libvirt stuff, dont think fuse mount would work here
"/home/patriot/.config/libvirt"
];
systemPackages = with pkgs; [qt5.qtwayland];
@ -146,13 +152,11 @@ in {
"keyrings"
"lutris"
"Terraria"
"gnome-boxes"
"PrismLauncher"
]
++ mkPaths ".config" [
"lutris"
"dconf"
"gnome-boxes"
];
files = l.flatten [
".config/wallpaper"