all repos — nixfiles @ c459e9f75cb1ecbf41bd5023714303a522494018

System and user configuration, managed by nix and home-manager

re-configure deploy-rs

Alan Pearce
commit

c459e9f75cb1ecbf41bd5023714303a522494018

parent

7b7960b098be7d6092df90ed9d9d7e6c02fa33a8

2 files changed, 11 insertions(+), 7 deletions(-)

jump to
A .envrc
@@ -0,0 +1,9 @@
+if type -P lorri &>/dev/null; then + if test -n "$TMPDIR"; then + export TMPDIR="$(readlink -f $TMPDIR)" + fi + eval "$(lorri direnv --flake .)" +else + echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]' + use nix +fi
M flake.nixflake.nix
@@ -162,17 +162,12 @@ (secrets + "/default.nix")
]; }; - checks = builtins.mapAttrs - (system: deployLib: - deployLib.deployChecks self.deploy) - deploy-rs.lib; - deploy = { - remoteBuild = true; - interactiveSudo = true; nodes.linde = { hostname = "linde"; profiles.system = { + user = "root"; + sshUser = "root"; path = deploy-rs.lib.${utils.lib.system.aarch64-linux}.activate.nixos self.nixosConfigurations.linde; };