Compare commits

...

3 Commits

Author SHA1 Message Date
Astro 1fe0da3080 pulsebert: deploy with krops 2020-06-21 22:27:17 +02:00
Astro eafa584ee8 pulsebert: remove broken services 2020-06-21 22:26:51 +02:00
Astro 73e129f72a pulsebert: don't let journald write to fs 2020-06-21 22:26:30 +02:00
2 changed files with 13 additions and 8 deletions

View File

@ -7,7 +7,7 @@
{ {
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix <this-host/hardware-configuration.nix>
]; ];
boot.loader.grub.enable = false; boot.loader.grub.enable = false;
@ -47,7 +47,7 @@
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wget vim wget vim git
raspberrypi-tools raspberrypi-tools
]; ];
@ -62,6 +62,11 @@
# List services that you want to enable: # List services that you want to enable:
# Do not log to flash:
services.journald.extraConfig = ''
Storage=volatile
'';
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh.enable = true;
services.openssh.permitRootLogin = "yes"; services.openssh.permitRootLogin = "yes";
@ -118,12 +123,6 @@
publish.userServices = true; publish.userServices = true;
}; };
# Enable Audio streaming for Mac clients
services.shairport-sync.enable = true;
# DLNA
services.gnome3.rygel.enable = true;
# Enable the X11 windowing system. # Enable the X11 windowing system.
# services.xserver.enable = true; # services.xserver.enable = true;
# services.xserver.layout = "us"; # services.xserver.layout = "us";

View File

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