mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 10:06:51 +01:00
Hacky way to apply a patch before autoupgrade
This commit is contained in:
parent
da0adb54e6
commit
1826c66598
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
system.autoUpgrade = {
|
system.autoUpgrade = {
|
||||||
enable = true;
|
enable = true;
|
||||||
randomizedDelaySec = "30min";
|
randomizedDelaySec = "30min";
|
||||||
flake = "git+https://codeberg.org/jopejoe1/nix-conf.git";
|
flake = "$(${pkgs.coreutils}/bin/rm -rf /var/lib/update-repo && ${pkgs.git}/bin/git clone git@codeberg.org:jopejoe1/nix-conf.git /var/lib/update-repo -q && ${pkgs.git}/bin/git -C /var/lib/update-repo am /home/jopejoe1/.config/patches/0001-add-liscense.patch -q)/var/lib/update-repo";
|
||||||
dates = "hourly";
|
dates = "hourly";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue