move haze home-manager config to shared modules

This commit is contained in:
2025-02-14 19:34:14 +01:00
parent 011bd84e6b
commit 62987add4b
8 changed files with 149 additions and 37 deletions

14
home/dotfiles.nix Normal file
View 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";
};
};
};
}