diff --git a/hosts/common/programs/default.nix b/hosts/common/programs/default.nix index 13a5e64a..7b967660 100644 --- a/hosts/common/programs/default.nix +++ b/hosts/common/programs/default.nix @@ -132,6 +132,7 @@ ./swayidle.nix ./swaylock.nix ./swaynotificationcenter + ./switchboard.nix ./sysvol.nix ./tangram.nix ./tor-browser.nix diff --git a/hosts/common/programs/sway/default.nix b/hosts/common/programs/sway/default.nix index 55381747..68a15184 100644 --- a/hosts/common/programs/sway/default.nix +++ b/hosts/common/programs/sway/default.nix @@ -161,6 +161,7 @@ in "sway-contrib.grimshot" # used by sway config "swayidle" # enable if you need it "swaynotificationcenter" # notification daemon + "switchboard" # network/bluetooth/sound control panel "sysvol" # volume notifier "unl0kr" # greeter "waybar" # used by sway config diff --git a/hosts/common/programs/switchboard.nix b/hosts/common/programs/switchboard.nix new file mode 100644 index 00000000..410cc7e1 --- /dev/null +++ b/hosts/common/programs/switchboard.nix @@ -0,0 +1,27 @@ +{ pkgs, ... }: +{ + sane.programs.switchboard = { + packageUnwrapped = with pkgs.pantheon; switchboard-with-plugs.override { + switchboardPlugs = [ + # switchboard-plug-a11y + # switchboard-plug-about + # switchboard-plug-applications + switchboard-plug-bluetooth + # switchboard-plug-datetime + # switchboard-plug-display # could be handy, but crashes + # switchboard-plug-keyboard + # switchboard-plug-mouse-touchpad # changing settings here doesn't actually impact anything real + switchboard-plug-network + # switchboard-plug-notifications + # switchboard-plug-onlineaccounts + # switchboard-plug-pantheon-shell + # switchboard-plug-power # needs to be "unlocked" before it can do anything (like change display brightness) + # switchboard-plug-printers # requires cups + # switchboard-plug-security-privacy + # switchboard-plug-sharing + switchboard-plug-sound + # switchboard-plug-wacom + ]; + }; + }; +}