From 62ec73e3f09ed9c007ce22c3ce6ade554b41433b Mon Sep 17 00:00:00 2001 From: RGBCube Date: Fri, 24 May 2024 12:36:01 +0300 Subject: [PATCH] Fix building and don't eval cache --- modules/ssh/default.nix | 5 +++-- rebuild.nu | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/ssh/default.nix b/modules/ssh/default.nix index 0521d08..1967d20 100644 --- a/modules/ssh/default.nix +++ b/modules/ssh/default.nix @@ -15,8 +15,9 @@ controlPath = "~/.ssh/control"; in homeConfiguration { home.activation.createControlPath = { - after = [ "writeBoundary" ]; - data = "mkdir --parents ${controlPath}"; + after = [ "writeBoundary" ]; + before = []; + data = "mkdir --parents ${controlPath}"; }; programs.ssh = enabled { diff --git a/rebuild.nu b/rebuild.nu index 2956888..5e3d3a7 100755 --- a/rebuild.nu +++ b/rebuild.nu @@ -18,6 +18,7 @@ def main --wrapped [ let nix_flags = [ "--option" "accept-flake-config" "true" + "--option" "eval-cache" "false" ] | append ($args_split | get --ignore-errors 1 | default []) if $host == (hostname) {