sysvol: remove autostart option (assume true)

This commit is contained in:
Colin 2024-03-21 05:24:33 +00:00
parent 9b793ef4b8
commit 058c95bb2c

View File

@ -1,19 +1,6 @@
{ config, lib, ... }:
let
cfg = config.sane.programs.sysvol;
in
{ ... }:
{
sane.programs.sysvol = {
configOption = with lib; mkOption {
default = {};
type = types.submodule {
options.autostart = mkOption {
type = types.bool;
default = true;
};
};
};
sandbox.method = "bwrap";
sandbox.whitelistAudio = true;
sandbox.whitelistWayland = true;
@ -66,7 +53,7 @@ in
services."sysvol" = {
description = "sysvol: volume monitor/notifier";
after = [ "graphical-session.target" "pipewire-pulse.service" ];
wantedBy = lib.mkIf cfg.config.autostart [ "graphical-session.target" ];
wantedBy = [ "graphical-session.target" ];
# options:
# -p {0,1,2,3} to attach to top/right/bottom/left screen edge