aboutsummaryrefslogtreecommitdiffstats
path: root/lib/modules/nixpkgs.nix
blob: 8ccc6a44fb8e2881f602aeb5c3c24d334d161d2e (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
{ system, inputs, profile, ... }:

{
  nixpkgs = {
    hostPlatform.system = system;

    config = {
      allowUnfree = true;
      permittedInsecurePackages = [
        "electron-39.8.10"
      ];
    };
    
    overlays = [(pkgs: _: {
      helium = inputs.helium.packages.${system}.default;
      claude = inputs.agents.packages.${system}.claude-code;
      berkeley-mono = pkgs.callPackage ../../pkgs/berkeley-mono.nix {};
      flow-icons = inputs.flow-icons.packages.${system}.default;
      spotifast = inputs.spotifast.packages.${system}.default;
      delta = inputs.delta.packages.${system}.default;
      tack = inputs.tack.packages.${system}.default;
    })] ++ inputs.nixpkgs.lib.optionals (profile == "nixos") [
      inputs.cachyos.overlays.pinned
    ];
  };
}