add rebuild timer for queen
This commit is contained in:
parent
578f038179
commit
6ae866d53e
|
@ -97,6 +97,20 @@
|
||||||
youtube-dl
|
youtube-dl
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Create an auto-update systemd service that runs every Saturday
|
||||||
|
systemd.services = {
|
||||||
|
updater = {
|
||||||
|
path = [
|
||||||
|
pkgs.rebuild
|
||||||
|
];
|
||||||
|
script = "rebuild";
|
||||||
|
serviceConfig = {
|
||||||
|
User = config.users.users.default.name;
|
||||||
|
};
|
||||||
|
startAt = "weekly";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Enable networking
|
# Enable networking
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
networking.nat.enable = true;
|
networking.nat.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue