zram
This commit is contained in:
@@ -10,7 +10,7 @@ in
|
|||||||
kernelModules = [ "nct6775" ];
|
kernelModules = [ "nct6775" ];
|
||||||
loader = {
|
loader = {
|
||||||
systemd-boot = {
|
systemd-boot = {
|
||||||
enable = true;
|
enable = false;
|
||||||
configurationLimit = 5;
|
configurationLimit = 5;
|
||||||
extraInstallCommands = ''
|
extraInstallCommands = ''
|
||||||
${pkgs.uutils-coreutils}/bin/uutils-echo "timeout 0
|
${pkgs.uutils-coreutils}/bin/uutils-echo "timeout 0
|
||||||
@@ -23,6 +23,20 @@ in
|
|||||||
canTouchEfiVariables = true;
|
canTouchEfiVariables = true;
|
||||||
efiSysMountPoint = "/boot";
|
efiSysMountPoint = "/boot";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
lanzaboote = {
|
||||||
|
enable = true;
|
||||||
|
pkiBundle = "/etc/secureboot";
|
||||||
|
settings = {
|
||||||
|
console-mode = "max";
|
||||||
|
};
|
||||||
|
configurationLimit = 5;
|
||||||
|
extraInstallCommands = ''
|
||||||
|
${pkgs.uutils-coreutils}/bin/uutils-echo "timeout 0
|
||||||
|
console-mode 1
|
||||||
|
default nixos-*" > /boot/loader/loader.conf
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
plymouth = {
|
plymouth = {
|
||||||
|
|||||||
@@ -61,4 +61,8 @@ in
|
|||||||
# Enable binfmt emulation for ARM
|
# Enable binfmt emulation for ARM
|
||||||
binfmt.emulatedSystems = [ "aarch64-linux" ]; # --argstr system aarch64-linux
|
binfmt.emulatedSystems = [ "aarch64-linux" ]; # --argstr system aarch64-linux
|
||||||
};
|
};
|
||||||
|
|
||||||
|
zramSwap = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user