Remove settings no longer necessary

Swaync is in stable, mumble 1.4 is in stable and has pulseaudio enabled
by default, the tray target is defined in home-manager upstream and
nix-direnv comes with flake support by default.
pull/64/head
Simon Bruder 2022-05-31 14:35:00 +02:00
parent 7361e03630
commit 37f0d3e1fc
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
6 changed files with 7 additions and 25 deletions

View File

@ -5,7 +5,7 @@ in
{
services.nitter = {
enable = true;
package = pkgs.unstable.nitter;
#package = pkgs.unstable.nitter;
server = {
port = 8081;
hostname = "nitter.sbruder.xyz";

View File

@ -145,15 +145,7 @@ in
# communication
claws-mail # email client that looks ugly but just works
firefox-esr # a bad browser
((mumble.override { pulseSupport = true; }).overrideAttrs (o: o // {
patches = o.patches ++ [
# TODO: remove patch once stable release supports this
(pkgs.fetchpatch {
url = "https://github.com/mumble-voip/mumble/commit/03dbea56f650bba4f1aa0c54d02b6e8c3639d04f.patch";
sha256 = "1zmqb8gl2cp0mcw85x9wn5rjw2mih7d2x96jxxqabjcx1kvgyhh3";
})
];
})) # VoIP group chat
mumble # VoIP group chat
# creative/design
openscad # parametric/procedural 3d modelling

View File

@ -170,7 +170,7 @@ in
"--no-repeat --locked ${cfg.modifier}+q" = ''exec 'test $(swaymsg -t get_outputs | ${pkgs.jq}/bin/jq "[.[].dpms] | any") = "true" && swaymsg "output * dpms off" || swaymsg "output * dpms on"'';
# Notifications
"${cfg.modifier}+n" = "exec ${pkgs.unstable.swaynotificationcenter}/bin/swaync-client -t";
"${cfg.modifier}+n" = "exec ${pkgs.swaynotificationcenter}/bin/swaync-client -t";
};
bars = [ ]; # managed as systemd user unit

View File

@ -8,7 +8,7 @@ in
Install.WantedBy = [ "sway-session.target" ];
Service = {
ExecStart = "${pkgs.unstable.swaynotificationcenter}/bin/swaync";
ExecStart = "${pkgs.swaynotificationcenter}/bin/swaync";
Restart = "on-failure";
};
};

View File

@ -285,9 +285,9 @@ in
dnd-none = "${thinsp}";
};
return-type = "json";
exec = "${pkgs.unstable.swaynotificationcenter}/bin/swaync-client -swb";
on-click = "${pkgs.unstable.swaynotificationcenter}/bin/swaync-client -t -sw";
on-click-right = "${pkgs.unstable.swaynotificationcenter}/bin/swaync-client -d -sw";
exec = "${pkgs.swaynotificationcenter}/bin/swaync-client -swb";
on-click = "${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw";
on-click-right = "${pkgs.swaynotificationcenter}/bin/swaync-client -d -sw";
escape = true;
};
};
@ -314,14 +314,5 @@ in
};
};
# TODO: remove when https://github.com/nix-community/home-manager/issues/2064
# is resolved
systemd.user.targets.tray = {
Unit = {
Description = "Home Manager System Tray";
Requires = [ "graphical-session-pre.target" ];
};
};
services.blueman-applet.enable = lib.mkIf nixosConfig.sbruder.full true;
}

View File

@ -54,7 +54,6 @@ in
enable = true;
nix-direnv = {
enable = true;
enableFlakes = true;
};
};
nix-index.enable = true;