feat: manage user configuration with Home Manager
This commit is contained in:
parent
7ae4243548
commit
07f806604f
5 changed files with 66 additions and 2 deletions
24
nixos/home/hhhh.nix
Normal file
24
nixos/home/hhhh.nix
Normal 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}";
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue