aboutsummaryrefslogtreecommitdiff
path: root/nix/users/fcuny/home-manager.nix
blob: a3441516feda091a3362c47587993b12a3300d4a (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
40
41
42
{ darwin, ... }:

{ config, lib, pkgs, ... }:
let isLinux = pkgs.stdenv.isLinux;
in {
  home.stateVersion = "23.05";

  xdg.enable = true;

  imports = [ ./shell.nix ./ssh.nix ./git.nix ]
    ++ lib.optionals darwin [ ./1password.nix ./go.nix ./k8s.nix ];

  home.packages = with pkgs;
    [
      # encryption
      age

      # media
      mpv
      ffmpeg

      # dicts
      aspell
      aspellDicts.en
      aspellDicts.en-computers
      aspellDicts.en-science

      # nix
      nil
      nix-direnv
      nixd
      nixfmt-classic
      nixpkgs-fmt
      nil # nix lsp

    ] ++ (lib.optionals (isLinux) [ htop ]) ++ (lib.optionals (darwin) [
      # hashicorp
      boundary
      nomad-pack
      tfswitch
    ]);
}