mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
19 lines
320 B
Nix
19 lines
320 B
Nix
|
{ pkgs, lib, ... }:
|
||
|
|
||
|
{
|
||
|
systemd = {
|
||
|
|
||
|
package = lib.mkDefault (pkgs.systemd.override { withHomed = false; });
|
||
|
sleep.extraConfig = ''
|
||
|
HibernateDelaySec=2h
|
||
|
'';
|
||
|
oomd = {
|
||
|
enable = true;
|
||
|
enableSystemSlice = true;
|
||
|
enableRootSlice = true;
|
||
|
enableUserServices = true;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
}
|