Fix Grub config
This commit is contained in:
parent
856519d807
commit
f06987ddd6
2
TODO.md
2
TODO.md
|
@ -5,7 +5,7 @@
|
|||
## Darwin
|
||||
|
||||
- [ ] amethyst -> yabai
|
||||
- [ ] dnscrypt-proxy
|
||||
- [ ] dnscrypt-proxy / unbound
|
||||
- [ ] iterm2 module (import from a generated `profile.json` file: Nord theme, Map Ctrl to `+ESC`)
|
||||
|
||||
## NixOS
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
options = "--delete-older-than 7d";
|
||||
options = "--delete-older-than 14d";
|
||||
interval.Day = 7;
|
||||
};
|
||||
|
||||
|
|
|
@ -135,6 +135,7 @@
|
|||
stateDir = "/gnu/var";
|
||||
gc = {
|
||||
enable = true;
|
||||
extraArgs = [ "--optimize" "--delete-generations=14d" ];
|
||||
dates = lib.mkDefault config.nix.gc.dates;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -18,15 +18,15 @@
|
|||
# Being more fancy with grub2
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
enableCryptodisk = true;
|
||||
zfsSupport = true;
|
||||
efiSupport = true;
|
||||
efiInstallAsRemovable = true; # guarantee that the firmware will find GRUB
|
||||
configurationLimit = 10;
|
||||
# gfxmodeEfi = ""; # TODO: find out the best mode manually later
|
||||
theme = pkgs.nixos-grub2-theme;
|
||||
font = config.boot.plymouth.font;
|
||||
fontSize = 32;
|
||||
fontSize = 48;
|
||||
mirroredBoots = [
|
||||
{ devices = [ "nodev" ]; path = "/boot"; }
|
||||
];
|
||||
};
|
||||
|
||||
# Being fancy. Other people have already taken care of all the tough setting-up parts :)
|
||||
|
@ -55,7 +55,6 @@
|
|||
# Bluetooth is meh, but I might need it sometimes
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
hsphfpd.enable = true;
|
||||
powerOnBoot = false;
|
||||
};
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
options = "--delete-older-than 7d";
|
||||
options = "--delete-older-than 14d";
|
||||
dates = "weekly";
|
||||
persistent = true;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue