patos/modules/utils.nix
Daniel Lundin b16bf9bcb8
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
feat(sysupdate): Download from dl.patagia.dev. Add gpg authentication.
2024-10-04 00:12:42 +02:00

15 lines
238 B
Nix

{
config,
pkgs,
lib,
...
}:
let
script = pkgs.writeShellScriptBin "patos-upgrade.sh" ''
systemd-sysupdate --verify=no
systemd-sysupdate --verify=no update --reboot
'';
in
{
environment.systemPackages = [ script ];
}