Set up automatic garbage collection
This commit is contained in:
parent
395f8fde70
commit
9c74115b76
2 changed files with 6 additions and 1 deletions
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
- Make rofi power menu work by removing password requirement from shutdown, reboot, etc., which is normally done with `visudo` (see [this Stack Overflow thread](https://askubuntu.com/a/168885) and [Nix `sudo` option](https://search.nixos.org/options?channel=22.05&from=0&size=50&sort=relevance&type=packages&query=sudo).
|
- Make rofi power menu work by removing password requirement from shutdown, reboot, etc., which is normally done with `visudo` (see [this Stack Overflow thread](https://askubuntu.com/a/168885) and [Nix `sudo` option](https://search.nixos.org/options?channel=22.05&from=0&size=50&sort=relevance&type=packages&query=sudo).
|
||||||
- Package safe poweroff bash script required by rofi power menu
|
- Package safe poweroff bash script required by rofi power menu
|
||||||
- Limit number of stored rollbacks to remove need for manual garbage collection
|
|
||||||
- Theme lightdm
|
- Theme lightdm
|
||||||
- Theme GRUB
|
- Theme GRUB
|
||||||
- Find out how handling multiple hosts works so both desktop and ThinkPad configurations are buildable from flake
|
- Find out how handling multiple hosts works so both desktop and ThinkPad configurations are buildable from flake
|
||||||
|
|
|
@ -14,6 +14,12 @@ in
|
||||||
#<home-manager/nixos>
|
#<home-manager/nixos>
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Automatically delete generations older than a week
|
||||||
|
nix.gc = {
|
||||||
|
automatic = true;
|
||||||
|
options = "--delete-generations 8d";
|
||||||
|
};
|
||||||
|
|
||||||
# Use the GRUB 2 boot loader.
|
# Use the GRUB 2 boot loader.
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
efi = {
|
efi = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue