build01: drop broken clone-nixpkgs
This commit is contained in:
parent
f0c9062a0a
commit
5d7ded27cd
2 changed files with 0 additions and 16 deletions
|
@ -12,7 +12,6 @@
|
|||
{
|
||||
imports = [
|
||||
../roles/dev-packages.nix
|
||||
../roles/clone-nixpkgs.nix
|
||||
../roles/common.nix
|
||||
../roles/hardware/hetzner-amd.nix
|
||||
../roles/hetzner-network.nix
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
({ pkgs, ... }: {
|
||||
systemd.services.clone-nixpkgs = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
serviceConfig.Type = "oneshot";
|
||||
startAt = "daily";
|
||||
script = ''
|
||||
if [ -d /var/lib/nixpkgs.git ]; then
|
||||
${pkgs.git}/bin/git -C /var/lib/nixpkgs.git fetch
|
||||
else
|
||||
${pkgs.git}/bin/git clone --bare https://github.com/nixos/nixpkgs /var/lib/nixpkgs.git
|
||||
fi
|
||||
'';
|
||||
};
|
||||
})
|
Loading…
Add table
Reference in a new issue