vno1-rp3b: journald logs to memory

This commit is contained in:
Motiejus Jakštys 2023-08-24 15:11:19 +03:00
parent 13afab404a
commit f159d9d89e

View File

@ -75,28 +75,18 @@
}; };
users.extraUsers.kodi.isNormalUser = true; users.extraUsers.kodi.isNormalUser = true;
services.cage.user = "kodi";
services.cage.program = let services.cage = {
user = "kodi";
program = let
kodi-wayland = pkgs.kodi-wayland.passthru.withPackages (kodiPkgs: [ kodi-wayland = pkgs.kodi-wayland.passthru.withPackages (kodiPkgs: [
kodiPkgs.youtube kodiPkgs.youtube
]); ]);
in "${kodi-wayland}/bin/kodi-standalone"; in "${kodi-wayland}/bin/kodi-standalone";
services.cage.enable = true; enable = true;
};
#services.greetd = { services.journald.extraConfig = "Storage=volatile";
# 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;
# };
#};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
libraspberrypi libraspberrypi