about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/tazjin/nixos/khamovnik/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/users/tazjin/nixos/khamovnik/default.nix b/users/tazjin/nixos/khamovnik/default.nix
index 5c1d1f661424..ca214876cc28 100644
--- a/users/tazjin/nixos/khamovnik/default.nix
+++ b/users/tazjin/nixos/khamovnik/default.nix
@@ -7,7 +7,7 @@ config:
 let
   mod = name: depot.path.origSrc + ("/ops/modules/" + name);
   usermod = name: depot.path.origSrc + ("/users/tazjin/nixos/modules/" + name);
-  private = /arc/junk/tazjin/nixos/yandex.nix;
+  private = /arc/junk/tazjin;
 
   zdevice = device: {
     inherit device;
@@ -23,7 +23,10 @@ in
     (usermod "laptop.nix")
     (usermod "physical.nix")
     (pkgs.home-manager.src + "/nixos")
-  ] ++ lib.optional (builtins.pathExists private) private;
+  ] ++ (if (builtins.pathExists private) then [
+    (private + "/nixos/yandex.nix")
+    (private + "/emacs/module.nix")
+  ] else [ ]);
 
   # from hardware-configuration.nix
   boot = {