Add nix-fast-build

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-09-10 20:19:11 +01:00
parent f960808cc7
commit bab9115537
14 changed files with 72 additions and 31 deletions

View File

@@ -43,7 +43,6 @@
];
download-buffer-size = 524288000;
substituters = lib.mkBefore [ "https://nix.karaolidis.com/main" ];
trusted-substituters = config.nix.settings.substituters;
trusted-public-keys = lib.mkBefore [ "main:nJVRBnv73MDkwuV5sgm52m4E2ImOhWHvY12qzjPegAk=" ];
netrc-file = config.sops.templates.nix-netrc.path;
};

View File

@@ -26,7 +26,6 @@
experimental-features
download-buffer-size
substituters
trusted-substituters
trusted-public-keys
netrc-file
;

View File

@@ -4,7 +4,10 @@
environment.persistence."/persist/cache"."${home}/.cache/nix" = { };
home-manager.users.${user} = {
home.packages = with pkgs; [ nurl ];
home.packages = with pkgs; [
nix-fast-build
nurl
];
programs.zsh.shellAliases = {
nrs = "sudo nixos-rebuild switch --flake .#$(hostname) --show-trace";