Way too massive refactoring
This commit is contained in:
parent
113d68be68
commit
24aac9708b
49 changed files with 481 additions and 407 deletions
13
personal-machines/hardware/hibernate.nix
Normal file
13
personal-machines/hardware/hibernate.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
swapDevices = lib.mkForce [
|
||||
{
|
||||
device = "/var/lib/swapfile";
|
||||
size = 16 * 1024;
|
||||
}
|
||||
];
|
||||
|
||||
boot = {
|
||||
resumeDevice = lib.mkDefault "/dev/mapper/nixos";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue