nixos: sp-nixos-upgrade: update sp-modules/ own flake.lock

This commit is contained in:
Alexander Tomokhov 2023-12-18 22:24:57 +04:00
parent ac340cbaf2
commit 8c9bf95c6d

View file

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