-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.nix
91 lines (83 loc) · 2.21 KB
/
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{ config, pkgs, ... }:
{
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "kachick";
home.homeDirectory = "/home/kachick";
xdg.configHome = "/home/kachick/.config";
xdg.cacheHome = "/home/kachick/.cache";
xdg.stateHome = "/home/kachick/.local/state";
xdg.dataHome = "/home/kachick/.local/share";
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "22.11";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
# TODO: Consider to manage nix.conf with home-manager. However it includes`trusted-public-keys`
# nix.package = pkgs.nix;
# nix.settings = {
# experimental-features = "nix-command";
# };
# nix.extraOptions = ''
# experimental-features = nix-command
# '';
home.packages = [
pkgs.dprint
pkgs.deno
pkgs.gitleaks
pkgs.shellcheck
pkgs.shfmt
pkgs.gcc
pkgs.git
pkgs.coreutils
pkgs.tig
pkgs.tree
pkgs.curl
pkgs.wget
pkgs.zsh
# Don't include bash - https://github.com/NixOS/nixpkgs/issues/29960, https://github.com/NixOS/nix/issues/730
# pkgs.bash
pkgs.nushell
pkgs.starship
pkgs.jq
pkgs.gh
pkgs.sqlite
pkgs.postgresql
pkgs.direnv
pkgs.ripgrep
pkgs.fzf
pkgs.exa
pkgs.bat
pkgs.duf
pkgs.fd
pkgs.du-dust
pkgs.procs
pkgs.bottom
pkgs.tesseract
pkgs.tig
pkgs.imagemagick
pkgs.pngquant
pkgs.rustup
pkgs.crystal
pkgs.ruby_3_1
pkgs.zellij
pkgs.nixpkgs-fmt
pkgs.nil
pkgs.cargo-make
# TODO: not yet officially supported macos, but works.
# https://github.com/NixOS/nixpkgs/pull/177024/files#diff-82935a120aeca7ac66b6d3b13c94ddffb8b33c87849105f732ac59b26e7812c5R58
pkgs.sheldon
# Required in many asdf(rtx) plugins
pkgs.unzip
# Required to build ruby
pkgs.zlib
pkgs.libyaml
pkgs.openssl
];
}