libirt
This commit is contained in:
parent
f53e874482
commit
ac9730653a
@ -1 +0,0 @@
|
||||
../../../modules/gnome-boxes/default.nix
|
1
hosts/tkaronto/modules/libvirtd.nix
Symbolic link
1
hosts/tkaronto/modules/libvirtd.nix
Symbolic link
@ -0,0 +1 @@
|
||||
../../../modules/libvirtd/default.nix
|
@ -1,4 +1,4 @@
|
||||
{pkgs, ...}: {
|
||||
virtualisation.libvirtd.enable = true;
|
||||
imports = [../libvirtd];
|
||||
environment.systemPackages = [pkgs.gnome.gnome-boxes];
|
||||
}
|
||||
|
7
modules/libvirtd/default.nix
Normal file
7
modules/libvirtd/default.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{config, ...}: {
|
||||
virtualisation.libvirtd.enable = true;
|
||||
environment.persistence."${config.system.persistDir}".directories = [
|
||||
"/var/lib/libvirt"
|
||||
"/var/lib/machines"
|
||||
];
|
||||
}
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user