fix cyberhack theme
This commit is contained in:
parent
6c0eb5a131
commit
b3667aae27
2 changed files with 20 additions and 2 deletions
|
|
@ -20,12 +20,30 @@
|
|||
|
||||
services.displayManager.ly.enable = true;
|
||||
|
||||
boot.kernelModules = [ "kvm-amd" "vhost_vsock" "vfio_virqfd" "vhost-net" "vfio_pci" "vfio_iommu_type1" "vfio"];
|
||||
boot.kernelParams = [ "amd_iommu=on" ];
|
||||
|
||||
services.printing.enable = true;
|
||||
services.printing.drivers = [pkgs.gutenprint];
|
||||
|
||||
programs.virt-manager.enable = true;
|
||||
users.groups.libvirtd.members = ["alyx"];
|
||||
virtualisation.libvirtd.enable = true;
|
||||
virtualisation.libvirtd.onBoot = "ignore";
|
||||
virtualisation.libvirtd.onShutdown = "shutdown";
|
||||
virtualisation.libvirtd.qemu.package = pkgs.qemu_kvm;
|
||||
virtualisation.libvirtd.qemu.swtpm.enable = true;
|
||||
virtualisation.libvirtd.qemu.runAsRoot = true;
|
||||
virtualisation.spiceUSBRedirection.enable = true;
|
||||
|
||||
users.users."qemu-libvirtd" = {
|
||||
extraGroups = [ "kvm" "input" ];
|
||||
isSystemUser = true;
|
||||
};
|
||||
|
||||
users.users.${config.var.username} = {
|
||||
description = "Alyx Wren";
|
||||
extraGroups = [ "networkmanager" "wheel" "camera" "input" "adbusers" "inputs" "uinput" "pipewire" ];
|
||||
extraGroups = [ "networkmanager" "wheel" "camera" "input" "adbusers" "inputs" "uinput" "pipewire" "kvm" "qemu-libvirt" "qemu-libvirtd" "lxd" "libvirtd" ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ stdenvNoCC.mkDerivation {
|
|||
version = "1.0";
|
||||
src = pkgs.fetchgit {
|
||||
url = "https://git.disroot.org/eudaimon/CyberHack.git";
|
||||
rev = "master";
|
||||
rev = "68fd81099a046bab8b560c7b3122824d9cdcc0ad";
|
||||
sha256 = "17lh4flbsgh5ddr6la2vnj3pd0185a2d7cwakm5c4ac9glx0wx0b";
|
||||
};
|
||||
installPhase = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue