mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-05 12:22: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,8 +1,10 @@
|
||||
{ config, ... }: {
|
||||
{ config, ... }:
|
||||
let configDir = config.var.configDirectory;
|
||||
in {
|
||||
system.autoUpgrade = {
|
||||
enable = config.var.autoUpgrade;
|
||||
dates = "04:00";
|
||||
flake = "${config.var.configDirectory}";
|
||||
flake = "${configDir}";
|
||||
flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ];
|
||||
allowReboot = false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user