summaryrefslogtreecommitdiffstats
path: root/dotfiles.nix
diff options
context:
space:
mode:
authorAndrew <admonty1@protonmail.com>2025-11-08 13:32:13 -0500
committerAndrew <admonty1@protonmail.com>2025-11-08 13:32:13 -0500
commit0f94e226637a238d33f7c6e5b359b6b65f733a70 (patch)
treef96247b83017df08a7561b4543129e347c0b84a2 /dotfiles.nix
parenttodo (diff)
downloadnixos-0f94e226637a238d33f7c6e5b359b6b65f733a70.tar.gz
nixos-0f94e226637a238d33f7c6e5b359b6b65f733a70.tar.bz2
nixos-0f94e226637a238d33f7c6e5b359b6b65f733a70.zip
dotfile managment
Diffstat (limited to 'dotfiles.nix')
-rw-r--r--dotfiles.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/dotfiles.nix b/dotfiles.nix
new file mode 100644
index 0000000..a235620
--- /dev/null
+++ b/dotfiles.nix
@@ -0,0 +1,19 @@
+{
+ config,
+ lib,
+ ...
+}: {
+ options = {
+ dotfiles = {
+ mutable = lib.mkEnableOption "mutable dotfiles";
+
+ path = lib.mkOption {
+ type = lib.types.path;
+ apply = toString;
+ default = "${config.home.homeDirectory}/.dotfiles/";
+ example = "${config.home.homeDirectory}/.dotfiles/astronvim-config";
+ description = "Location of the dotfiles working copy";
+ };
+ };
+ };
+}