-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.yaml
26 lines (26 loc) · 1.61 KB
/
config.example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
gc:
onInterval: true # true=daily, false=never or string containing cron interval
onLowSpace: 2147483648 # 2gb, 0 to disable, will trigger every minute and check threshold on /nix/store partition
keepDays: 7 # how many days to keep old, unused stuff arround for rollbacks
maxFree: 0 # _only_ free _up to_ this much space, 0=ignore
system:
upgrade: # affects nixos-rebuild
interval: true # true=daily false=never or string containg cron interval
silentFetch: true # fetch channels silently instead of asking
silentPrepare: true # prefetch already built derivations from cache but don't build anything just yet, will not run on paid networks (e.g. mobile)
forceSilentPrepare: false # always run silentPrepare
silentApplyForNextBoot: true # build with nixos-rebuild boot so update gets applied on next boot
notifyUpdateAvailable: true # make a notification to apply update during current boot
rollback:
checks:
sanityCheck: true # perform checks while the system is running
grubFlag: false # add settings to grub to auto-rollback
allowAuto: critical # never, critical, always - change when auto-rollbacks are done
user:
upgrade: # affects nix-env
interval: true # true=daily false=never or string containg cron interval
silentFetch: true # fetch channels silently instead of asking
silentPrepare: true # prefetch already built derivations from cache but don't build anything just yet, will not run on paid networks (e.g. mobile)
silentApply: true # silently build and apply
forceSilentPrepare: false # always run silentPrepare
cooldownMsAfterBoot: 18000000 # 5 min