From 0f94e226637a238d33f7c6e5b359b6b65f733a70 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sat, 8 Nov 2025 13:32:13 -0500 Subject: dotfile managment --- dotfiles.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 dotfiles.nix (limited to 'dotfiles.nix') 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"; + }; + }; + }; +} -- cgit v1.3.1