2022-04-19 17:22:02 +02:00
|
|
|
{
|
2023-06-06 16:25:15 +02:00
|
|
|
# pkgs = import <personal> {};
|
|
|
|
pkgs = import <nixpkgs> {};
|
2022-04-20 15:59:22 +02:00
|
|
|
|
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
|
|
|
|
];
|
2023-06-06 16:25:15 +02:00
|
|
|
pathsToLink = ["/share" "/bin" "/etc"];
|
2022-04-20 16:00:56 +02:00
|
|
|
};
|
2022-04-19 17:22:02 +02:00
|
|
|
};
|
2022-05-25 18:48:40 +02:00
|
|
|
|
2023-06-06 16:25:15 +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
|
|
|
}
|