commit 695fa272a5c29b1b5381d735c392b7fe250ad56d
parent 21f36bc583ff64d2d47dec98b8da4b08329986f3
Author: breadcat <breadcat@users.noreply.github.com>
Date: Sat, 20 Dec 2025 15:14:53 +0000
Forgot all about my gitignore, here's variables.nix
Diffstat:
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -1,4 +1,5 @@
research
# see variables.sample.nix
-variables.nix
-\ No newline at end of file
+variables.nix
+!common/variables.nix
+\ No newline at end of file
diff --git a/common/variables.nix b/common/variables.nix
@@ -0,0 +1,9 @@
+{ machine, fullname, username, domain, email, sshkey, sshport, timezone, postcode, address, htpasswd, vpnusername, vpnpassword, todosecret, privatekey, matrixuser, matrixserver }:
+
+let
+ all-variables = { inherit machine fullname username domain email sshkey sshport timezone postcode address htpasswd vpnusername vpnpassword todosecret privatekey matrixuser matrixserver; };
+in
+
+{
+ _module.args = all-variables;
+}