about summary refs log tree commit diff
path: root/users/tazjin
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-03-31T13·19+0200
committertazjin <tazjin@tvl.su>2022-03-31T13·24+0000
commitcc88081abf1cd4de5d216cd5a12a1e5ff51b6d5e (patch)
tree68423b8a0130a7380bf7662498b260280c5b90e7 /users/tazjin
parentdd797f8d3e2eec7f7ecee28e8c592da438f2e6e2 (diff)
feat(tazjin/tverskoy): Support local configuration r/3926
I need this for some work config which I can't put in public git :/

Change-Id: Id6a160d9dd9c1aedace68aca732744da22e413c5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5427
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'users/tazjin')
-rw-r--r--users/tazjin/nixos/.gitignore1
-rw-r--r--users/tazjin/nixos/tverskoy/default.nix2
2 files changed, 2 insertions, 1 deletions
diff --git a/users/tazjin/nixos/.gitignore b/users/tazjin/nixos/.gitignore
new file mode 100644
index 000000000000..212d3ad270f4
--- /dev/null
+++ b/users/tazjin/nixos/.gitignore
@@ -0,0 +1 @@
+local-config.nix
diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix
index 39db45b9c16f..6530dcf05760 100644
--- a/users/tazjin/nixos/tverskoy/default.nix
+++ b/users/tazjin/nixos/tverskoy/default.nix
@@ -21,7 +21,7 @@ lib.fix (self: {
   imports = [
     "${depot.third_party.impermanence}/nixos.nix"
     "${pkgs.home-manager.src}/nixos"
-  ];
+  ] ++ lib.optional (builtins.pathExists ./local-config.nix) ./local-config.nix;
 
   tvl.cache.enable = true;