diff --git a/.gitignore b/.gitignore index e866a93..37e1a79 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ hardware-configuration.nix install-local.nix *.pdf -install_pc.sh \ No newline at end of file +install_pc.sh +falta.md \ No newline at end of file diff --git a/configuration.nix b/configuration.nix index b1c67cb..cdbeb44 100644 --- a/configuration.nix +++ b/configuration.nix @@ -359,10 +359,10 @@ in }; systemd.services.lab-updater = { description = "actualizaciones automáticas del sistema"; - path = with pkgs; [ git nix coreutils systemd util-linux libnotify config.system.build.nixos-rebuild ]; + path = with pkgs; [ git nix coreutils systemd util-linux libnotify config.system.build.nixos-rebuild bash ]; serviceConfig = { Type = "oneshot"; - ExecStart = "/etc/nixos/update.sh"; + ExecStart = "${pkgs.bash}/bin/bash /etc/nixos/update.sh"; }; };