From 70d60e5ee6d1092f765807b8483c9c16d2afa678 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Wed, 22 Feb 2023 22:39:56 +0100 Subject: add home-manager modules --- modules/home-manager/dotfiles.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 modules/home-manager/dotfiles.nix (limited to 'modules/home-manager/dotfiles.nix') 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; }"; + }; +} -- cgit v1.2.3