mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 17:08:25 +02:00
feat: pick the highest resolution for systemd-boot's console
This commit is contained in:
@@ -12,8 +12,12 @@
|
|||||||
# to install chrome, you need to enable unfree packages
|
# to install chrome, you need to enable unfree packages
|
||||||
nixpkgs.config.allowUnfree = lib.mkForce true;
|
nixpkgs.config.allowUnfree = lib.mkForce true;
|
||||||
|
|
||||||
# for nix server, we do not need to keep too much generations
|
boot.loader.systemd-boot = {
|
||||||
boot.loader.systemd-boot.configurationLimit = lib.mkDefault 10;
|
# we use Git for version control, so we don't need to keep too many generations.
|
||||||
|
configurationLimit = lib.mkDefault 10;
|
||||||
|
# pick the highest resolution for systemd-boot's console.
|
||||||
|
consoleMode = lib.mkDefault "max";
|
||||||
|
};
|
||||||
|
|
||||||
# do garbage collection weekly to keep disk usage low
|
# do garbage collection weekly to keep disk usage low
|
||||||
nix.gc = {
|
nix.gc = {
|
||||||
|
|||||||
Reference in New Issue
Block a user