mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-04 20:02:10 +02:00
Put every variables in top of the file for easy copy to another config
Former-commit-id: 0bd55fdc10
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
{ config, ... }: {
|
||||
{ config, ... }:
|
||||
let autoGarbageCollector = config.var.autoGarbageCollector;
|
||||
in {
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
allowBroken = true;
|
||||
@@ -16,7 +18,7 @@
|
||||
];
|
||||
};
|
||||
gc = {
|
||||
automatic = config.var.autoGarbageCollector;
|
||||
automatic = autoGarbageCollector;
|
||||
persistent = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
|
||||
Reference in New Issue
Block a user