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, ...}: {
|
{pkgs, ...}: {
|
||||||
virtualisation.libvirtd.enable = true;
|
imports = [../libvirtd];
|
||||||
environment.systemPackages = [pkgs.gnome.gnome-boxes];
|
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 = {
|
environment = {
|
||||||
persistence.${config.system.persistDir}.directories = l.flatten [
|
persistence.${config.system.persistDir}.directories = l.flatten [
|
||||||
|
# because steam will be fucked otherwise
|
||||||
(l.optional nixosConfig.programs.steam.enable "/home/patriot/.local/share/Steam")
|
(l.optional nixosConfig.programs.steam.enable "/home/patriot/.local/share/Steam")
|
||||||
|
# because cargo doesnt work otherwise
|
||||||
"/home/patriot/.cargo"
|
"/home/patriot/.cargo"
|
||||||
|
# same thing since i work with cargo and other shit
|
||||||
"/home/patriot/proj"
|
"/home/patriot/proj"
|
||||||
|
# same thing as steam
|
||||||
"/home/patriot/games"
|
"/home/patriot/games"
|
||||||
|
# flatpak stuff
|
||||||
"/home/patriot/.var"
|
"/home/patriot/.var"
|
||||||
|
# libvirt stuff, dont think fuse mount would work here
|
||||||
"/home/patriot/.config/libvirt"
|
"/home/patriot/.config/libvirt"
|
||||||
];
|
];
|
||||||
systemPackages = with pkgs; [qt5.qtwayland];
|
systemPackages = with pkgs; [qt5.qtwayland];
|
||||||
@ -146,13 +152,11 @@ in {
|
|||||||
"keyrings"
|
"keyrings"
|
||||||
"lutris"
|
"lutris"
|
||||||
"Terraria"
|
"Terraria"
|
||||||
"gnome-boxes"
|
|
||||||
"PrismLauncher"
|
"PrismLauncher"
|
||||||
]
|
]
|
||||||
++ mkPaths ".config" [
|
++ mkPaths ".config" [
|
||||||
"lutris"
|
"lutris"
|
||||||
"dconf"
|
"dconf"
|
||||||
"gnome-boxes"
|
|
||||||
];
|
];
|
||||||
files = l.flatten [
|
files = l.flatten [
|
||||||
".config/wallpaper"
|
".config/wallpaper"
|
||||||
|
Loading…
Reference in New Issue
Block a user