Limit the number of boot entries
to avoid /boot to go out of disk space.
This commit is contained in:
parent
52506298a1
commit
338a5d5336
|
@ -23,10 +23,7 @@
|
|||
# Being fancy. Other people have already taken care of all the tough setting-up parts :)
|
||||
boot.plymouth = {
|
||||
enable = true;
|
||||
logo = pkgs.fetchurl {
|
||||
url = "https://github.com/NixOS/nixos-artwork/raw/master/logo/nixos-white.png";
|
||||
hash = "sha256-2bY//ppmTwtovkdaRIj20tKcxOQPrP2Z2zbjQ+9FWtI=";
|
||||
};
|
||||
logo = "${pkgs.nixos-icons}/share/icons/hicolor/72x72/apps/nix-snowflake.png";
|
||||
};
|
||||
|
||||
# Most valuable directories (.e.g /home, /gnu, /nix) are persisted using ZFS datasets.
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.systemd-boot.configurationLimit = 10; # prevent /boot to go out of disk space
|
||||
|
||||
# Necessary ~~evils~~ binary blobs
|
||||
# Ref: https://github.com/NixOS/nixos-hardware/tree/master/common/{cpu,gpu}/amd
|
||||
|
|
Loading…
Reference in New Issue