summaryrefslogtreecommitdiff
path: root/modules/home-manager/dotfiles.nix
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2023-02-22 22:39:56 +0100
committerQuentin Aristote <quentin@aristote.fr>2023-02-28 17:47:49 +0100
commit70d60e5ee6d1092f765807b8483c9c16d2afa678 (patch)
treeedeb7a91de348d6fc5dd0e43b9ca7bef794b322c /modules/home-manager/dotfiles.nix
parentbbb2f5e7cefb970b3e4994ee51bb2c3a18a073c2 (diff)
add home-manager modules
Diffstat (limited to 'modules/home-manager/dotfiles.nix')
-rw-r--r--modules/home-manager/dotfiles.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/home-manager/dotfiles.nix b/modules/home-manager/dotfiles.nix
new file mode 100644
index 0000000..6d28f39
--- /dev/null
+++ b/modules/home-manager/dotfiles.nix
@@ -0,0 +1,13 @@
+{ lib, ... }:
+
+{
+ options.personal.home.dotfiles = lib.mkOption {
+ type = with lib.types; attrsOf path;
+ default = {};
+ description = ''
+ Paths to dotfiles.
+ '';
+ example =
+ lib.literalExample "{ \"init.el\" = ./dotfiles/init.el; }";
+ };
+}