From 1fe0da3080994362e84c5650c5491c57d8d3e67f Mon Sep 17 00:00:00 2001 From: Astro Date: Sun, 21 Jun 2020 22:27:17 +0200 Subject: [PATCH] pulsebert: deploy with krops --- hosts/pulsebert/configuration.nix | 4 ++-- krops.nix | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/hosts/pulsebert/configuration.nix b/hosts/pulsebert/configuration.nix index 5d92baed..9ac1b3c3 100644 --- a/hosts/pulsebert/configuration.nix +++ b/hosts/pulsebert/configuration.nix @@ -7,7 +7,7 @@ { imports = [ # Include the results of the hardware scan. - ./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 ]; diff --git a/krops.nix b/krops.nix index 42bbeef1..30399369 100644 --- a/krops.nix +++ b/krops.nix @@ -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; + }; + }; }