add virtualization
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
../../modules/git.nix
|
||||
../../modules/scripts.nix
|
||||
../../modules/desktop/vr.nix
|
||||
../../modules/virtualization.nix
|
||||
../../modules/programs/nixvim/neovim.nix
|
||||
];
|
||||
|
||||
@@ -106,6 +107,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
services.gvfs.enable = true;
|
||||
services.goxlr-utility.enable = true;
|
||||
services.flatpak.enable = true;
|
||||
@@ -131,9 +133,7 @@
|
||||
extraCompatPackages = with pkgs; [ proton-ge-bin ];
|
||||
package = pkgs.steam.override {
|
||||
extraEnv = {
|
||||
LD_AUDIT = "${sls-steam.packages.${pkgs.stdenv.hostPlatform.system}.sls-steam}/library-inject.so:${
|
||||
sls-steam.packages.${pkgs.stdenv.hostPlatform.system}.sls-steam
|
||||
}/SLSsteam.so";
|
||||
LD_AUDIT = "/home/user/Desktop/coding/SLSsteam/bin/library-inject.so:/home/user/Desktop/coding/SLSsteam/bin/SLSsteam.so";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -4,6 +4,12 @@
|
||||
"nfs4"
|
||||
];
|
||||
|
||||
services.btrfs.autoScrub = {
|
||||
enable = true;
|
||||
interval = "monthly";
|
||||
fileSystems = [ "/" ];
|
||||
};
|
||||
|
||||
fileSystems = {
|
||||
"/".options = [ "compress=zstd" ];
|
||||
"/home".options = [ "compress=zstd" ];
|
||||
|
||||
@@ -42,9 +42,15 @@
|
||||
"org/cinnamon/desktop/applications/terminal" = {
|
||||
exec = "kitty";
|
||||
};
|
||||
"org/virt-manager/virt-manager/connections" = {
|
||||
autoconnect = [ "qemu:///system" ];
|
||||
uris = [ "qemu:///system" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.remmina.enable = true;
|
||||
|
||||
home.pointerCursor = {
|
||||
enable = true;
|
||||
gtk.enable = true;
|
||||
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user