mirror of
https://github.com/flynx/nixos.git
synced 2026-11-17 16:31:36 +00:00
added auto update (disabled) and auto gc...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
ef499e6663
commit
1a2c24e1e5
@ -35,6 +35,21 @@
|
|||||||
"flakes"
|
"flakes"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
## Auto-updates...
|
||||||
|
#system.autoUpgrade = {
|
||||||
|
# enable = true;
|
||||||
|
# dates = "weekly";
|
||||||
|
#};
|
||||||
|
|
||||||
|
# Auto-cleanup...
|
||||||
|
nix.gc = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "weekly";
|
||||||
|
#options = "--delete-older-than 14d";
|
||||||
|
};
|
||||||
|
nix.settings.auto-optimise-store = true;
|
||||||
|
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user