Home

dotnix @5b4d4791f3ff86d9183d59bf2f010a62c9c1eb5d - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
dotnix / apps / default.nix
- raw
 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
{
  pkgs,
  config,
  ...
}: {
  imports = [
    ./bat.nix
    ./bottom.nix
    ./exa.nix
    ./firefox.nix
    ./fzf.nix
    ./gpg.nix
    ./git.nix
    ./go.nix
    ./helix.nix
    ./jq.nix
    ./nushell.nix
    ./oh-my-posh.nix
    ./ssh.nix
    ./wezterm.nix
    ./zoxide.nix
  ];
  home = {
    packages = with pkgs; [
      # Tools
      age
      bitwarden-cli
      delve
      duf
      du-dust
      fd
      just
      ripgrep

      # LSPs
      gopls
      lua-language-server
      marksman
      nil
      nodePackages.yaml-language-server

      # Formatters
      alejandra
      black
      gofumpt
      nodePackages.lua-fmt

      # IDEs
      jetbrains.goland

      # Personal NUR
      nur.repos.jolheiser.tmpl
    ];
    activation.report-changes = config.lib.dag.entryAnywhere ''
      ${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff $oldGenPath $newGenPath
    '';
    stateVersion = "22.11";
  };

  programs = {home-manager.enable = true;};
}