Move some options into base.nix
This commit is contained in:
parent
442b72de55
commit
2ad217fd84
9 changed files with 8 additions and 32 deletions
|
@ -61,12 +61,5 @@
|
|||
|
||||
resumeDevice = "/dev/mapper/nixos";
|
||||
kernelParams = [ "resume_offset=39292928" ];
|
||||
|
||||
loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
};
|
||||
|
||||
services.logind.lidSwitch = if config.boot.resumeDevice != "" then "hibernate" else "suspend";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue