push cache alias

This commit is contained in:
Danilo Reyes
2025-11-20 01:09:45 -06:00
parent b117c3e7da
commit afb35b3abd

View File

@@ -42,6 +42,11 @@ in
nix run nixpkgs#nixfmt-tree && \
statix fix
'';
nix-push-cache = ''
nix build $NH_FLAKE#nixosConfigurations.${config.networking.hostName}.config.system.build.toplevel \
--print-out-paths --fallback --max-jobs 100 --cores 0 |
nix run nixpkgs#attic-client -- push lan:nixos --stdin
'';
};
};
}