about summary refs log tree commit diff
path: root/nix/users/fcuny/home-manager.nix
blob: 77523286cf47919160442de3f70c504f67b58c59 (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
{ darwin, ... }:

{ config, lib, pkgs, ... }: {
  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

      # nix
      nil
      nix-direnv
      nixd
      nixfmt-classic
      nixpkgs-fmt
      nil # nix lsp
    ] ++ (lib.optionals (darwin) [
      # hashicorp
      boundary
      nomad-pack
      tfswitch

      # media
      mpv
      ffmpeg
    ]);
}