From 793491e2a187ca8975a46be0e385891ac8a31400 Mon Sep 17 00:00:00 2001 From: Zhongheng Liu Date: Wed, 21 Aug 2024 11:48:21 +0800 Subject: feat: introduce flake var to shorten nh commands --- common/variables.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/variables.nix') diff --git a/common/variables.nix b/common/variables.nix index d8c3e42..189aaa7 100644 --- a/common/variables.nix +++ b/common/variables.nix @@ -14,6 +14,7 @@ myEmail = mkOption {type = str;}; displayScale = mkOption {type = int;}; myAutostartCommands = mkOption {type = listOf str;}; + myConfigLocation = mkOption {type = str;}; }; # Default values for this configuration @@ -27,5 +28,6 @@ myAutostartCommands = [ "fcitx5" ]; + myConfigLocation = "/home/${myUserName}/nix-conf"; }; } -- cgit