patos/modules/utils.nix

19 lines
260 B
Nix
Raw Normal View History

{
config,
pkgs,
lib,
...
}:
let
script = pkgs.writeShellScriptBin "patos-upgrade.sh" ''
systemd-sysupdate --verify=no
systemd-sysupdate --verify=no update --reboot
'';
in
{
2024-10-13 23:18:17 +02:00
environment.systemPackages = [
# pkgs.ncdu
script
];
}