feat: manage user configuration with Home Manager

This commit is contained in:
hhhh hgfh 2026-10-05 00:37:52 +03:00
parent 7ae4243548
commit 07f806604f
5 changed files with 66 additions and 2 deletions

24
nixos/home/hhhh.nix Normal file
View file

@ -0,0 +1,24 @@
{ config, lib, ... }:
let
repo = "${config.home.homeDirectory}/Git/Custom-environment";
configDirs = [
"atuin"
"gitui"
"hypr"
"kitty"
"mako"
"nvim"
"waybar"
"wofi"
];
in
{
# Keep this at the version used when first enabling Home Manager.
home.stateVersion = "26.05";
xdg.enable = true;
xdg.configFile = lib.genAttrs configDirs (name: {
source = config.lib.file.mkOutOfStoreSymlink "${repo}/${name}";
});
}