move haze home-manager config to shared modules
This commit is contained in:
parent
011bd84e6b
commit
62987add4b
8 changed files with 149 additions and 37 deletions
14
home/dotfiles.nix
Normal file
14
home/dotfiles.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options = {
|
||||
dotfiles = {
|
||||
path = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
apply = toString;
|
||||
default = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/rep/dotfiles";
|
||||
example = "${config.home.homeDirectory}/.dotfiles";
|
||||
description = "Location of the dotfiles working copy";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue