diff options
| author | aethrvmn <me@aethrvmn.gr> | 2025-08-31 14:21:34 +0000 |
|---|---|---|
| committer | aethrvmn <me@aethrvmn.gr> | 2025-08-31 14:21:34 +0000 |
| commit | bfd970a07c231b5781871c16cb4612eb4c6b8fd4 (patch) | |
| tree | 50a4ac5138d1f438e4d5bad3a3dd880a0784cd3e /home-manager/dotfiles | |
| parent | added flake (diff) | |
imported system/home-manager config
Diffstat (limited to 'home-manager/dotfiles')
| -rw-r--r-- | home-manager/dotfiles/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/home-manager/dotfiles/default.nix b/home-manager/dotfiles/default.nix new file mode 100644 index 0000000..875c110 --- /dev/null +++ b/home-manager/dotfiles/default.nix @@ -0,0 +1,32 @@ +{ config, pkgs, ... }: + let + ghosttyPath = "${config.home.homeDirectory}/.nix/dotfiles/ghostty"; + helixPath = "${config.home.homeDirectory}/.nix/dotfiles/helix"; + labwcPath = "${config.home.homeDirectory}/.nix/dotfiles/labwc"; + makoPath = "${config.home.homeDirectory}/.nix/dotfiles/mako"; + swappyPath = "${config.home.homeDirectory}/.nix/dotfiles/swappy"; + waybarPath = "${config.home.homeDirectory}/.nix/dotfiles/waybar"; + + # theming + themesPath = "${config.home.homeDirectory}/.nix/dotfiles/themes"; + fontPath = "${config.home.homeDirectory}/.nix/dotfiles/fonts"; + in { + xdg = { + configFile = { + # configFile points to ~/.config + "ghostty".source = config.lib.file.mkOutOfStoreSymlink ghosttyPath; + "helix".source = config.lib.file.mkOutOfStoreSymlink helixPath; + "labwc".source = config.lib.file.mkOutOfStoreSymlink labwcPath; + "mako".source = config.lib.file.mkOutOfStoreSymlink makoPath; + "swappy".source = config.lib.file.mkOutOfStoreSymlink swappyPath; + "waybar".source = config.lib.file.mkOutOfStoreSymlink waybarPath; + }; + + dataFile = { + # dataFile points to ~/.local/share + "themes".source = config.lib.file.mkOutOfStoreSymlink themesPath; + "fonts".source = config.lib.file.mkOutOfStoreSymlink fontPath; + }; + }; + } + |
