-
Notifications
You must be signed in to change notification settings - Fork 1
/
home.nix
55 lines (50 loc) · 927 Bytes
/
home.nix
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
{
pkgs,
machine,
...
}: let
homeRoot =
if pkgs.stdenv.isDarwin
then "/Users"
else "/home";
in {
home.username = machine.username;
home.homeDirectory = "${homeRoot}/${machine.username}";
home.stateVersion = "23.11";
programs.home-manager.enable = true;
programs.zsh.enable = true;
home.sessionPath = [
"$HOME/.local/bin"
];
home.packages = with pkgs; [
alejandra
htop
yarn
xz
ffmpeg
scrcpy
gnupg
fd
gh
just
tree-sitter
imagemagick
openssh
postgresql
ripgrep
scc
unzip
wget
spicetify-cli
android-tools
rnix-lsp
neofetch
nodejs
bash
fira-code
(nerdfonts.override {fonts = ["NerdFontsSymbolsOnly"];})
];
targets.genericLinux.enable = pkgs.stdenv.isLinux;
xdg.configFile."nix/nix.conf".text = "experimental-features = nix-command flakes";
imports = import machine.configs;
}