summaryrefslogtreecommitdiffstats
path: root/dotfiles.nix
blob: a23562093b194bef978ff9419e514074a105eb3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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";
      };
    };
  };
}