summaryrefslogtreecommitdiff
path: root/users/seth/programs/default.nix
blob: d1b8f9739df1756b4be8ee829e4aa6eed7cef682 (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
53
54
55
56
{
	config,
	pkgs,
	...
}: let
	develPackages =
		if config.seth.devel.enable
		then
			with pkgs; [
				alejandra
				clang
				deadnix
				eclint
				lld
				statix
			]
		else [];

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

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