mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-28 06:51:28 +00:00
nixos: nix flake lock /etc/nixos --update-input sp-modules
This commit is contained in:
parent
400be88738
commit
6735784bb7
|
@ -100,9 +100,9 @@ in
|
||||||
SendSIGKILL = "no";
|
SendSIGKILL = "no";
|
||||||
};
|
};
|
||||||
script = ''
|
script = ''
|
||||||
# relock sp-modules to absolute path (in terms of Nix) due to Nix bugs:
|
# sync with sp-modules sub-flake
|
||||||
# https://github.com/NixOS/nix/issues/9339
|
# (https://github.com/NixOS/nix/issues/9339)
|
||||||
${config.nix.package}/bin/nix flake lock /etc/nixos --override-input sp-modules /etc/nixos/sp-modules
|
${config.nix.package}/bin/nix flake lock /etc/nixos --update-input sp-modules
|
||||||
|
|
||||||
${pkgs.nixos-rebuild}/bin/nixos-rebuild switch --flake /etc/nixos#sp-nixos
|
${pkgs.nixos-rebuild}/bin/nixos-rebuild switch --flake /etc/nixos#sp-nixos
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue