mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-24 13:01:28 +00:00
nixos: sp-nixos-upgrade: update sp-modules/ own flake.lock
This commit is contained in:
parent
ac340cbaf2
commit
8c9bf95c6d
|
@ -121,9 +121,8 @@ in
|
|||
};
|
||||
script = ''
|
||||
# FIXME get URL from systemd parameter
|
||||
# relock sp-modules to absolute path (in terms of Nix)
|
||||
${config.nix.package}/bin/nix flake update /etc/nixos/sp-modules/
|
||||
${config.nix.package}/bin/nix flake update /etc/nixos --override-input selfprivacy-nixos-config git+https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git?ref=flakes
|
||||
|
||||
${pkgs.nixos-rebuild}/bin/nixos-rebuild switch --flake /etc/nixos#sp-nixos
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue