From 51a691efbf2190c7adb7ae0f48f6506c21d012f1 Mon Sep 17 00:00:00 2001 From: Yureka Date: Sun, 24 Oct 2021 23:38:49 +0200 Subject: [PATCH 1/2] fix deprecation warning use settings attribute --- shared-services/spotifyd.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/shared-services/spotifyd.nix b/shared-services/spotifyd.nix index 7cf79ce..1988632 100644 --- a/shared-services/spotifyd.nix +++ b/shared-services/spotifyd.nix @@ -1,12 +1,10 @@ -{ ... }: +{ config, ... }: { services.spotifyd = { enable = true; - config = '' - zeroconf_port = 18572 - ''; + settings.zeroconf_port = 18572; }; - networking.firewall.allowedTCPPorts = [ 18572 ]; + networking.firewall.allowedTCPPorts = [ config.services.spotifyd.settings.zeroconf_port ]; } From 7a0544f69acf5d1c58c9519fedb84c27051050fb Mon Sep 17 00:00:00 2001 From: Yureka Date: Mon, 25 Oct 2021 00:12:51 +0200 Subject: [PATCH 2/2] tmpfsOnTmpfs true on bemmer --- hosts/bemmer/configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/bemmer/configuration.nix b/hosts/bemmer/configuration.nix index ebe53b2..e7d0951 100644 --- a/hosts/bemmer/configuration.nix +++ b/hosts/bemmer/configuration.nix @@ -30,6 +30,7 @@ nixpkgs.system = "aarch64-linux"; hardware.raspberry-pi."4".fkms-3d.enable = true; + boot.tmpOnTmpfs = true; # building stuff on sd-card is slow system.stateVersion = "21.05"; }