pulsebert: deploy with krops

This commit is contained in:
Astro 2020-06-21 22:27:17 +02:00
parent eafa584ee8
commit 1fe0da3080
2 changed files with 8 additions and 2 deletions

View File

@ -7,7 +7,7 @@
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
<this-host/hardware-configuration.nix>
];
boot.loader.grub.enable = false;
@ -47,7 +47,7 @@
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
wget vim
wget vim git
raspberrypi-tools
];

View File

@ -39,4 +39,10 @@ in {
sudo = true;
};
};
pulsebert = pkgs.krops.writeDeploy "pulsebert" {
source = hostSource "pulsebert";
target = lib.mkTarget "k-ot@pulsebert.hq.c3d2.de" // {
sudo = true;
};
};
}