enable virt for dell-laptop
This commit is contained in:
parent
9f22eae47d
commit
be19b78418
@ -24,7 +24,7 @@
|
|||||||
deviceSpecific.isHost = false;
|
deviceSpecific.isHost = false;
|
||||||
deviceSpecific.isShared = false;
|
deviceSpecific.isShared = false;
|
||||||
deviceSpecific.isGaming = true;
|
deviceSpecific.isGaming = true;
|
||||||
deviceSpecific.enableVirtualisation = false;
|
deviceSpecific.enableVirtualisation = true;
|
||||||
deviceSpecific.wireguard.enable = true;
|
deviceSpecific.wireguard.enable = true;
|
||||||
|
|
||||||
boot.blacklistedKernelModules = [
|
boot.blacklistedKernelModules = [
|
||||||
@ -83,6 +83,14 @@
|
|||||||
# wantedBy = [ "multi-user.target" ];
|
# wantedBy = [ "multi-user.target" ];
|
||||||
# };
|
# };
|
||||||
|
|
||||||
|
systemd.services.unbind-usb2 = {
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
serviceConfig = {
|
||||||
|
ExecStart = "${pkgs.coreutils}/bin/echo 'usb2' | ${pkgs.coreutils}/bin/tee /sys/bus/usb/drivers/usb/unbind";
|
||||||
|
Type = "oneshot";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# boot.kernelParams = lib.mkIf (device == "Dell-Laptop") [
|
# boot.kernelParams = lib.mkIf (device == "Dell-Laptop") [
|
||||||
# "mem_sleep_default=deep"
|
# "mem_sleep_default=deep"
|
||||||
# ];
|
# ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user