Remove usage of nixFlakes

This commit is contained in:
Simon Bruder 2023-05-30 11:41:55 +02:00
parent d43a2e51b5
commit 2f3d5c8b6b
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
2 changed files with 2 additions and 2 deletions

View file

@ -108,7 +108,7 @@
deploy-local = lib.recurseIntoAttrs (lib.mapAttrs
(hostname: machine: pkgs.writeShellScript "deploy-local-${hostname}" ''
${pkgs.nixos-rebuild.override { nix = pkgs.nixFlakes; }}/bin/nixos-rebuild \
${pkgs.nixos-rebuild}/bin/nixos-rebuild \
switch \
--flake .#${hostname} \
-L \

View file

@ -115,7 +115,7 @@
};
system.activationScripts.diff = ''
[ -L /run/current-system ] && ${pkgs.nixFlakes}/bin/nix \
[ -L /run/current-system ] && ${config.nix.package}/bin/nix \
--experimental-features 'nix-command' \
store \
diff-closures /run/current-system "$systemConfig"