dotfiles/.config/nixpkgs/config.nix

43 lines
881 B
Nix
Raw Normal View History

2022-04-19 17:22:02 +02:00
{
pkgs = import <personal> { };
2022-04-19 17:22:02 +02:00
# https://nixos.org/manual/nixpkgs/stable/#sec-declarative-package-management
# https://github.com/g-w1/nix-configs/blob/main/home.nix
2022-04-20 16:00:56 +02:00
packageOverrides = pkgs:
with pkgs; {
myPackages = pkgs.buildEnv {
name = "my-packages";
paths = [
aerc
b3sum
cpplint
2022-04-19 17:22:02 +02:00
2022-04-20 16:00:56 +02:00
cachix
hydra-check
nixops
nix-update
nix-diff
niff
nox
nix-du
nixfmt
statix
2022-04-19 17:22:02 +02:00
2022-04-20 16:00:56 +02:00
elvish
silver-searcher
starship
ttyper
2022-04-19 17:22:02 +02:00
2022-04-20 16:00:56 +02:00
nerdfonts
];
pathsToLink = [ "/share" "/bin" "/etc" ];
};
2022-04-19 17:22:02 +02:00
};
nix.distributedBuilds = true;
# useful when the builder has a faster internet connection than yours
nix.extraOptions = ''
builders-use-substitutes = true
'';
2022-04-19 17:22:02 +02:00
}