[NixOS] Razer tweaks
This commit is contained in:
parent
5b67a634ad
commit
699b94d95f
@ -12,11 +12,6 @@
|
|||||||
/etc/nixos/cachix.nix
|
/etc/nixos/cachix.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.bumblebee = {
|
|
||||||
enable = true;
|
|
||||||
pmMethod = "bbswitch";
|
|
||||||
};
|
|
||||||
|
|
||||||
# disable card with bbswitch by default since we turn it on only on demand!
|
# disable card with bbswitch by default since we turn it on only on demand!
|
||||||
hardware.nvidiaOptimus.disable = true;
|
hardware.nvidiaOptimus.disable = true;
|
||||||
|
|
||||||
@ -32,8 +27,6 @@
|
|||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
services.xserver.libinput.enable = true;
|
services.xserver.libinput.enable = true;
|
||||||
services.tlp.enable = true;
|
|
||||||
services.acpid.enable = false;
|
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-uuid/58218a04-3ba1-4295-86bb-ada59f75e3b6";
|
device = "/dev/disk/by-uuid/58218a04-3ba1-4295-86bb-ada59f75e3b6";
|
||||||
@ -59,7 +52,13 @@
|
|||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [
|
||||||
|
{
|
||||||
|
device = "/swapfile";
|
||||||
|
priority = 0;
|
||||||
|
size = 4096;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
networking.hostName = "ivanm-dfinity-razer";
|
networking.hostName = "ivanm-dfinity-razer";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user