mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-15 21:12:04 +01:00
feat: pick the highest resolution for systemd-boot's console
This commit is contained in:
1 parent
d022fc3fa9
commit
47225fffbc
1 file changed
+6
-2
@@ -12,8 +12,12 @@
|
||||
# to install chrome, you need to enable unfree packages
|
||||
nixpkgs.config.allowUnfree = lib.mkForce true;
|
||||
|
||||
# for nix server, we do not need to keep too much generations
|
||||
boot.loader.systemd-boot.configurationLimit = lib.mkDefault 10;
|
||||
boot.loader.systemd-boot = {
|
||||
# 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
|
||||
nix.gc = {
|
||||
|
||||
Reference in new issue
Block a user