summaryrefslogtreecommitdiff
path: root/users/seth/programs/default.nix
blob: 902f7bfeb1160117def776e353fa590f2d2d88a1 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
	config,
	pkgs,
	...
}: let
	develPackages =
		if config.seth.devel.enable
		then
			with pkgs; [
				alejandra
				clang
				deadnix
				eclint
				statix
			]
		else [];

	guiApps =
		if config.seth.desktop != ""
		then
			with pkgs; [
				discord
				element-desktop
				spotify
				steam
			]
		else [];
in {
	imports = [
		./git.nix
		./mangohud
		./neovim
		./starship.nix
		./vim.nix
		./xdg.nix
	];

	home.packages = with pkgs;
		[
			bat
			exa
			fd
			gh
			lld
			rclone
			restic
			ripgrep
			python311
		]
		++ develPackages
		++ guiApps;
}