summaryrefslogtreecommitdiff
path: root/home.nix
blob: 6e37e3ab0bc2d994aa6cf3c23c5003bb86f76162 (plain)
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
{
  pkgs,
  inputs,
  ...
}: let
in {
  nixpkgs.config.allowUnfree = true;
  home.username = "gabrielgio";
  home.homeDirectory = "/home/gabrielgio";
  home.stateVersion = "25.05";
  home.packages = with pkgs;
    [
      alejandra
      awscli2
      comma
      grpcurl
      jujutsu
      k6
      kubectl
      ngrok
      nix-index
      nixd
      protoscope
      python312Packages.cssbeautifier
      ssm-session-manager-plugin
      streamlink
      terraform
      terraform-ls
      vale
      yaml-language-server
    ]
    ++ (
      if hostname != "workstation.lan"
      then [
        inputs.gxctl.packages.${pkgs.system}.gxctl
        inputs.gxctl.packages.${pkgs.system}.gxssh
        inputs.gxctl.packages.${pkgs.system}.gxscp
      ]
      else []
    );

  programs = {
    direnv = {
      enable = true;
      nix-direnv.enable = true;
    };
    nh = {
      enable = true;
      flake = "/home/gabrielgio/.config/home-manager";
    };
  };

  imports = [
    (import ./profile.nix)
    (import ./wofi.nix)
    (import ./ghostty.nix)
    (import ./waybar.nix)
    (import ./mako.nix)
    (import ./alacritty.nix)
    (import ./niri.nix)
    (import ./sway.nix)
    (import ./aerc.nix)
  ];
}