mirror of
https://github.com/Moe1369/nixos-config.git
synced 2024-10-18 04:14:08 +02:00
move swapfiles to hardware-configuration.nix
This commit is contained in:
parent
0500ef1321
commit
8353a2bb00
@ -24,7 +24,10 @@
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
swapDevices = [ {
|
||||
device = "/var/lib/swapfile";
|
||||
size = 16*1024;
|
||||
}];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
|
@ -13,10 +13,6 @@
|
||||
pulse.enable = true;
|
||||
};
|
||||
services.libinput.enable = false;
|
||||
swapDevices = [ {
|
||||
device = "/var/lib/swapfile";
|
||||
size = 16*1024;
|
||||
} ];
|
||||
# GPU Overcloking
|
||||
environment.systemPackages = with pkgs; [
|
||||
lact
|
||||
|
Loading…
Reference in New Issue
Block a user