Compare commits

..

1 Commits

Author SHA1 Message Date
Oystein Kristoffer Tveit bdf983f954
systemd hardening 2024-10-20 01:58:43 +02:00
1 changed files with 0 additions and 5 deletions

View File

@ -14,8 +14,6 @@ in
enablePipewire = lib.mkEnableOption "pipewire" // { default = true; };
enableDebug = lib.mkEnableOption "debug logs";
# TODO: create some better descriptions
settings = {
host = lib.mkOption {
@ -97,9 +95,6 @@ in
description = "greg-ng, an mpv based media player";
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
environment = {
RUST_LOG = lib.mkIf cfg.enableDebug "greg_ng=trace,mpvipc=trace";
};
serviceConfig = {
Type = "simple";
ExecStart = "${lib.getExe cfg.package} ${lib.cli.toGNUCommandLineShell { } cfg.settings}";