mirror of
https://github.com/iesfdlr/lab.git
synced 2026-06-05 17:06:47 +00:00
fix: configuration again
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,4 +1,5 @@
|
||||
hardware-configuration.nix
|
||||
install-local.nix
|
||||
*.pdf
|
||||
install_pc.sh
|
||||
install_pc.sh
|
||||
falta.md
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user