From f159d9d89e45850ccef3063530820e30801971c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 24 Aug 2023 15:11:19 +0300 Subject: [PATCH] vno1-rp3b: journald logs to memory --- hosts/vno1-rp3b/configuration.nix | 32 +++++++++++-------------------- 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/hosts/vno1-rp3b/configuration.nix b/hosts/vno1-rp3b/configuration.nix index 882f022..0fe11d7 100644 --- a/hosts/vno1-rp3b/configuration.nix +++ b/hosts/vno1-rp3b/configuration.nix @@ -75,28 +75,18 @@ }; users.extraUsers.kodi.isNormalUser = true; - services.cage.user = "kodi"; - services.cage.program = let - kodi-wayland = pkgs.kodi-wayland.passthru.withPackages (kodiPkgs: [ - kodiPkgs.youtube - ]); - in "${kodi-wayland}/bin/kodi-standalone"; - services.cage.enable = true; - #services.greetd = { - # enable = true; - # settings = rec { - # initial_session = let - # kodi-wayland = pkgs.kodi-wayland.passthru.withPackages (kodiPkgs: [ - # kodiPkgs.youtube - # ]); - # in { - # command = "${kodi-wayland}/bin/kodi-standalone"; - # user = "kodi"; - # }; - # default_session = initial_session; - # }; - #}; + services.cage = { + user = "kodi"; + program = let + kodi-wayland = pkgs.kodi-wayland.passthru.withPackages (kodiPkgs: [ + kodiPkgs.youtube + ]); + in "${kodi-wayland}/bin/kodi-standalone"; + enable = true; + }; + + services.journald.extraConfig = "Storage=volatile"; environment.systemPackages = with pkgs; [ libraspberrypi