about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2022-09-28 14:19:47 +0200
committersternenseemann <sternenseemann@systemli.org>2022-09-28 14:19:47 +0200
commit83dacabab9f1160b8f011a8d6cdfacac41b91e15 (patch)
tree196faaa10d6f5193f876786bb3eb2d8c7152a38e
parent6e75b87b1087270c84e07c2ec47b05e92b3afc2f (diff)
machines/wolfgang: allow optionally injecting local configuration
-rw-r--r--.gitignore3
-rw-r--r--machines/sternenseemann/wolfgang.nix2
2 files changed, 5 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 3e4cfd10..1ae62ee9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
 # nix-build symlinks
 result-*
 result
+
+# local-only configuration
+/machines/sternenseemann/local.nix
diff --git a/machines/sternenseemann/wolfgang.nix b/machines/sternenseemann/wolfgang.nix
index e557550c..159e2764 100644
--- a/machines/sternenseemann/wolfgang.nix
+++ b/machines/sternenseemann/wolfgang.nix
@@ -12,6 +12,8 @@ in {
     ./desktop-sway.nix
     ./wireguard.nix
     ./user-lukas.nix
+  ] ++ lib.optionals (builtins.pathExists ./local.nix) [
+    ./local.nix
   ];
 
   boot.initrd.availableKernelModules = [