blob: e450c24214fb51979ace8537cde20b444df02519 (
plain) (
blame)
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
|
{ darwin, systemName, ... }:
{ lib, pkgs, ... }:
{
home.stateVersion = "23.05";
xdg.enable = true;
imports =
[
./shell.nix
./ssh.nix
./git.nix
]
++ lib.optionals darwin [
./1password.nix
./go.nix
]
++ lib.optionals (systemName == "hq-c02fk3q7md6t") [ ./work.nix ];
home.packages =
with pkgs;
[
# encryption
age
nil # nix lsp
nix-direnv # integration with direnv
nixfmt-rfc-style # new formatter
]
++ (lib.optionals (darwin) [
# media
mpv
ffmpeg
# rust
rustup
]);
}
|