add nixos-rebuild to auto update path

This commit is contained in:
Noa Aarts 2024-05-15 10:19:27 +02:00
parent e76cf540e5
commit 56bea71521

View file

@ -126,6 +126,9 @@
};
systemd.services."update-from-flake" = {
path = with pkgs; [
nixos-rebuild
];
script = ''nixos-rebuild switch --flake github:itepastra/nixconf'';
serviceConfig = {
Type = "oneshot";