feat: introduce flake var to shorten nh commands

This commit is contained in:
Zhongheng Liu 2024-08-21 11:48:21 +08:00
commit 793491e2a1
No known key found for this signature in database
2 changed files with 6 additions and 1 deletions

View file

@ -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";
};
}