sysvol: remove autostart option (assume true)
This commit is contained in:
parent
9b793ef4b8
commit
058c95bb2c
|
@ -1,19 +1,6 @@
|
||||||
{ config, lib, ... }:
|
{ ... }:
|
||||||
let
|
|
||||||
cfg = config.sane.programs.sysvol;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
sane.programs.sysvol = {
|
sane.programs.sysvol = {
|
||||||
configOption = with lib; mkOption {
|
|
||||||
default = {};
|
|
||||||
type = types.submodule {
|
|
||||||
options.autostart = mkOption {
|
|
||||||
type = types.bool;
|
|
||||||
default = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
sandbox.method = "bwrap";
|
sandbox.method = "bwrap";
|
||||||
sandbox.whitelistAudio = true;
|
sandbox.whitelistAudio = true;
|
||||||
sandbox.whitelistWayland = true;
|
sandbox.whitelistWayland = true;
|
||||||
|
@ -66,7 +53,7 @@ in
|
||||||
services."sysvol" = {
|
services."sysvol" = {
|
||||||
description = "sysvol: volume monitor/notifier";
|
description = "sysvol: volume monitor/notifier";
|
||||||
after = [ "graphical-session.target" "pipewire-pulse.service" ];
|
after = [ "graphical-session.target" "pipewire-pulse.service" ];
|
||||||
wantedBy = lib.mkIf cfg.config.autostart [ "graphical-session.target" ];
|
wantedBy = [ "graphical-session.target" ];
|
||||||
|
|
||||||
# options:
|
# options:
|
||||||
# -p {0,1,2,3} to attach to top/right/bottom/left screen edge
|
# -p {0,1,2,3} to attach to top/right/bottom/left screen edge
|
||||||
|
|
Loading…
Reference in New Issue
Block a user