From bfd970a07c231b5781871c16cb4612eb4c6b8fd4 Mon Sep 17 00:00:00 2001 From: aethrvmn Date: Sun, 31 Aug 2025 16:21:34 +0200 Subject: imported system/home-manager config --- home-manager/dotfiles/default.nix | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 home-manager/dotfiles/default.nix (limited to 'home-manager/dotfiles') 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; + }; + }; + } + -- cgit v1.2.3