nixos/modules/mobile/quadshell.nix

22 lines
470 B
Nix

{
lib,
pkgs,
inputs,
...
}:
{
nixpkgs.overlays = [ inputs.quadshell.overlays.default ];
# quadshell's Bluetooth arrow opens it, and it needs its daemon
services.adw-bluetooth.enable = true;
# quadshell is GeoClue's agent, for its location toggle
services.geoclue2 = {
enableDemoAgent = false;
whitelistedAgents = [ "quadshell" ];
};
environment.etc."niri/config.kdl".text = ''
spawn-at-startup "${lib.getExe pkgs.quadshell}"
'';
}