fix: configuration again

This commit is contained in:
2026-03-22 22:05:32 +01:00
parent 1ab2428ce9
commit fe04b02a4d
2 changed files with 4 additions and 3 deletions

3
.gitignore vendored
View File

@@ -1,4 +1,5 @@
hardware-configuration.nix
install-local.nix
*.pdf
install_pc.sh
install_pc.sh
falta.md

View File

@@ -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";
};
};