mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
nixos/programs/{sessiond,gnome-session}: fix OOMScoreAdjust=
default value
You have to be careful with negative numbers, apparently.
This commit is contained in:
parent
12b80432b0
commit
b32bf6d6ab
@ -237,7 +237,7 @@ in
|
||||
# set a reasonable middle-in-the-ground value for this one. The user
|
||||
# should have the responsibility passing judgement for what is best for
|
||||
# this.
|
||||
OOMScoreAdjust = lib.mkDefault -500;
|
||||
OOMScoreAdjust = lib.mkDefault (-500);
|
||||
};
|
||||
|
||||
startLimitBurst = lib.mkDefault 3;
|
||||
|
@ -171,7 +171,7 @@ in
|
||||
# set a reasonable middle-in-the-ground value for this one. The user
|
||||
# should have the responsibility passing judgement for what is best for
|
||||
# this.
|
||||
OOMScoreAdjust = lib.mkDefault -500;
|
||||
OOMScoreAdjust = lib.mkDefault (-500);
|
||||
};
|
||||
|
||||
startLimitBurst = lib.mkDefault 3;
|
||||
|
Loading…
Reference in New Issue
Block a user