about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-05-26T12·50+0200
committerclbot <clbot@tvl.fyi>2022-05-26T12·53+0000
commit9eb4002d1867c123bcc0ba58dbf7bd29684e8136 (patch)
tree6d6e78733dc3d50ccfbf82e59281a908b7c7c308
parent1ad9b249f40b85db568e81669d330734a87ea81c (diff)
refactor(tazjin/nixos): Prepare for restricted-eval r/4133
Change-Id: I6adbe1d53581dddc4c7c3a44516fbed3a661daff
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5689
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
-rw-r--r--users/tazjin/nixos/polyanka/default.nix4
-rw-r--r--users/tazjin/nixos/tverskoy/default.nix4
-rw-r--r--users/tazjin/nixos/zamalek/default.nix4
3 files changed, 6 insertions, 6 deletions
diff --git a/users/tazjin/nixos/polyanka/default.nix b/users/tazjin/nixos/polyanka/default.nix
index 5758ee39b3e5..fc30b823735e 100644
--- a/users/tazjin/nixos/polyanka/default.nix
+++ b/users/tazjin/nixos/polyanka/default.nix
@@ -6,8 +6,8 @@ _: # ignore readTree options
 { config, depot, lib, pkgs, ... }:
 
 let
-  mod = name: depot.path + ("/ops/modules/" + name);
-  usermod = name: depot.path + ("/users/tazjin/nixos/modules/" + name);
+  mod = name: depot.path.origSrc + ("/ops/modules/" + name);
+  usermod = name: depot.path.origSrc + ("/users/tazjin/nixos/modules/" + name);
 in
 {
   imports = [
diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix
index a1248c6c5dbd..4a94e58c5f17 100644
--- a/users/tazjin/nixos/tverskoy/default.nix
+++ b/users/tazjin/nixos/tverskoy/default.nix
@@ -9,8 +9,8 @@ let
     monolithic = false;
   };
 
-  mod = name: depot.path + ("/ops/modules/" + name);
-  usermod = name: depot.path + ("/users/tazjin/nixos/modules/" + name);
+  mod = name: depot.path.origSrc + ("/ops/modules/" + name);
+  usermod = name: depot.path.origSrc + ("/users/tazjin/nixos/modules/" + name);
 in
 lib.fix (self: {
   imports = [
diff --git a/users/tazjin/nixos/zamalek/default.nix b/users/tazjin/nixos/zamalek/default.nix
index 71e230347a70..be5b204277ae 100644
--- a/users/tazjin/nixos/zamalek/default.nix
+++ b/users/tazjin/nixos/zamalek/default.nix
@@ -3,8 +3,8 @@
 
 config:
 let
-  mod = name: depot.path + ("/ops/modules/" + name);
-  usermod = name: depot.path + ("/users/tazjin/nixos/modules/" + name);
+  mod = name: depot.path.origSrc + ("/ops/modules/" + name);
+  usermod = name: depot.path.origSrc + ("/users/tazjin/nixos/modules/" + name);
 
   zdevice = device: {
     inherit device;