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

{ lib, pkgs, ... }: {
  home.stateVersion = "23.05";

  xdg.enable = true;

  imports = [ ./shell.nix ./ssh.nix ./git.nix ]
    ++ lib.optionals darwin [ ./1password.nix ./go.nix ]
    ++ lib.optionals (systemName == "hq-c02fk3q7md6t") [ ./work.nix ];

  home.packages = with pkgs;
    [
      # encryption
      age

      # nix
      nil # nix lsp
      nix-direnv
      nixd
      nixfmt-classic
      nixpkgs-fmt
    ] ++ (lib.optionals (darwin) [
      # media
      mpv
      ffmpeg

      # rust
      rustup
    ]);
}