Add channel for autoupgrades

This commit is contained in:
Inex Code 2022-07-13 14:02:35 +03:00
parent 3884d97240
commit 2d26ca545e

View file

@ -62,8 +62,11 @@ in
environment.variables = { environment.variables = {
DOMAIN = config.services.userdata.domain; DOMAIN = config.services.userdata.domain;
}; };
system.autoUpgrade.enable = config.services.userdata.autoUpgrade.enable; system.autoUpgrade = {
system.autoUpgrade.allowReboot = config.services.userdata.autoUpgrade.allowReboot; enable = config.services.userdata.autoUpgrade.enable;
allowReboot = config.services.userdata.autoUpgrade.allowReboot;
channel = "https://channel.selfprivacy.org/nixos-selfpricacy";
};
nix = { nix = {
optimise.automatic = true; optimise.automatic = true;
gc = { gc = {