add virtualization

This commit is contained in:
2026-08-21 23:53:30 +02:00
parent fad85558d1
commit e6b53a2f00
4 changed files with 29 additions and 3 deletions
+3 -3
View File
@@ -13,6 +13,7 @@
../../modules/git.nix ../../modules/git.nix
../../modules/scripts.nix ../../modules/scripts.nix
../../modules/desktop/vr.nix ../../modules/desktop/vr.nix
../../modules/virtualization.nix
../../modules/programs/nixvim/neovim.nix ../../modules/programs/nixvim/neovim.nix
]; ];
@@ -106,6 +107,7 @@
}; };
}; };
virtualisation.docker.enable = true;
services.gvfs.enable = true; services.gvfs.enable = true;
services.goxlr-utility.enable = true; services.goxlr-utility.enable = true;
services.flatpak.enable = true; services.flatpak.enable = true;
@@ -131,9 +133,7 @@
extraCompatPackages = with pkgs; [ proton-ge-bin ]; extraCompatPackages = with pkgs; [ proton-ge-bin ];
package = pkgs.steam.override { package = pkgs.steam.override {
extraEnv = { extraEnv = {
LD_AUDIT = "${sls-steam.packages.${pkgs.stdenv.hostPlatform.system}.sls-steam}/library-inject.so:${ LD_AUDIT = "/home/user/Desktop/coding/SLSsteam/bin/library-inject.so:/home/user/Desktop/coding/SLSsteam/bin/SLSsteam.so";
sls-steam.packages.${pkgs.stdenv.hostPlatform.system}.sls-steam
}/SLSsteam.so";
}; };
}; };
}; };
+6
View File
@@ -4,6 +4,12 @@
"nfs4" "nfs4"
]; ];
services.btrfs.autoScrub = {
enable = true;
interval = "monthly";
fileSystems = [ "/" ];
};
fileSystems = { fileSystems = {
"/".options = [ "compress=zstd" ]; "/".options = [ "compress=zstd" ];
"/home".options = [ "compress=zstd" ]; "/home".options = [ "compress=zstd" ];
+6
View File
@@ -42,8 +42,14 @@
"org/cinnamon/desktop/applications/terminal" = { "org/cinnamon/desktop/applications/terminal" = {
exec = "kitty"; exec = "kitty";
}; };
"org/virt-manager/virt-manager/connections" = {
autoconnect = [ "qemu:///system" ];
uris = [ "qemu:///system" ];
}; };
}; };
};
services.remmina.enable = true;
home.pointerCursor = { home.pointerCursor = {
enable = true; enable = true;
+14
View File
@@ -0,0 +1,14 @@
{ pkgs, ... }:
{
programs.virt-manager.enable = true;
users.groups.libvirtd.members = [ "user" ];
virtualisation.libvirtd = {
enable = true;
qemu.vhostUserPackages = with pkgs; [ virtiofsd ];
};
virtualisation.spiceUSBRedirection.enable = true;
}