aboutsummaryrefslogtreecommitdiff
path: root/home-manager/dotfiles/default.nix
blob: b6dfd139c7f6dc7df2dbe859c157aa3bb24b1c1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ config, pkgs, ... }:
	let
		atuinPath = "${config.home.homeDirectory}/.nix/dotfiles/atuin";
		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 points to ~/.config
			configFile = {
				"atuin".source = config.lib.file.mkOutOfStoreSymlink atuinPath;
 				"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 points to ~/.local/share
			dataFile = {
				"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.