aboutsummaryrefslogtreecommitdiff
path: root/home-manager/dotfiles/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home-manager/dotfiles/default.nix32
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;
+ };
+ };
+ }
+
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.