add swapfile os module and enable swap for hs
All checks were successful
/ build-all (push) Successful in 1m6s
All checks were successful
/ build-all (push) Successful in 1m6s
This commit is contained in:
parent
87b3f3e5bd
commit
4d8c3fddd0
3 changed files with 11 additions and 5 deletions
|
|
@ -11,6 +11,7 @@ in
|
|||
(import ../remote-disk-unlock.nix ["igb"] sshKeys)
|
||||
../builder.nix
|
||||
../kdeconnect-ports.nix
|
||||
(import ../swapfile.nix 64)
|
||||
];
|
||||
|
||||
boot.loader = {
|
||||
|
|
@ -29,11 +30,6 @@ in
|
|||
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
||||
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
||||
|
||||
swapDevices = [{
|
||||
device = "/var/lib/swapfile";
|
||||
size = 64 * 1024;
|
||||
}];
|
||||
|
||||
boot.kernelParams = [ "quiet" "amd_iommu=on" ];
|
||||
boot.supportedFilesystems = [ "ntfs" ];
|
||||
networking.hostName = "basado"; # Define your hostname.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue