add more scripts

This commit is contained in:
2026-08-16 17:11:26 +02:00
parent 4b0e320c8b
commit 1fb50e80ea
4 changed files with 64 additions and 56 deletions
-11
View File
@@ -43,17 +43,6 @@
powerOnBoot = false;
};
environment.systemPackages = [
(pkgs.writeShellScriptBin "enable-hypervisor" ''
sudo modprobe -r kvm_amd kvm
sudo modprobe cpuid_fault_emulation
'')
(pkgs.writeShellScriptBin "disable-hypervisor" ''
sudo modprobe -r cpuid_fault_emulation
sudo modprobe kvm_amd kvm
'')
];
networking.hostName = "nixos-desktop";
networking.firewall.enable = true;
networking.networkmanager.enable = true;