r/o

hosts/seraphim: cleanup. c008ed35 parent 9fb0ceb3

authored by ~talya

1
{
2
pkgs,
3
lib,
4
isServer,
5
isDarwin,
6
nixpkgs-unstable,
7
...
8
}:
9
{
10
imports =
11
[
12
./home/fish.nix
13
./home/ssh.nix
14
./home/helix.nix
15
./home/tmux.nix
16
./home/git.nix
17
./home/ripgrep.nix
18
./home/aerc.nix
19
./home/jujutsu.nix
20
]
21
++ lib.optionals (!isServer && !isDarwin) [
22
./home/plasma
23
];
24
25
home = {
26
stateVersion = "23.05";
27
28
sessionVariables.RUST_BACKTRACE = "full";
29
30
packages =
31
with pkgs;
32
(
33
[
34
# Tools provided by or useful with the config.
35
git
36
cowsay # :|3
37
age
38
sops
39
ssh-to-age
40
nix-tree
41
pandoc # aerc
42
eza
43
nixfmt-tree
44
nixd
45
mtr
46
]
47
++ [
48
# Generally helpful.
49
_7zz
50
dig
51
entr
52
file
53
htop
54
xh # replacing HTTPie. but when will i remember to use it?
55
inetutils
56
jq
57
lsof
58
tio
59
unixtools.xxd
60
unzip
61
wget
62
fd
63
ffmpeg
64
]
65
++ [
66
yaml-language-server
67
awscli2
68
]
69
++ (with nixpkgs-unstable.legacyPackages.${pkgs.system}; [
70
(timoni.overrideAttrs {
71
patches = [ ./home/timoni.patch ];
72
vendorHash = "sha256-r/NbZmZHIDPemjNUeEypXqQgCmlZgWaYgKkL6/UzVdk=";
73
})
74
cue
75
cuelsp
76
])
77
++ lib.optionals (!isDarwin) [
78
sysz
79
gnumake
80
]
81
++ lib.optionals (!isServer) [
82
gg-jj
83
yt-dlp
84
]
85
);
86
};
87
}
88