update things
This commit is contained in:
parent
af6a3bce3e
commit
620f2867e2
5 changed files with 404 additions and 269 deletions
639
flake.lock
generated
639
flake.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -150,8 +150,10 @@
|
|||
awscli2
|
||||
monero-cli
|
||||
|
||||
zoom-us
|
||||
pandoc
|
||||
cider-2
|
||||
|
||||
feather
|
||||
|
||||
qt6Packages.qt5compat
|
||||
libsForQt5.qt5.qtgraphicaleffects
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ in {
|
|||
passthrough = false;
|
||||
"fixed-center" = true;
|
||||
"modules-left" = ["hyprland/workspaces" "hyprland/window" "niri/workspaces" "niri/window" "network#speed" "custom/cava-system" "custom/cava-tt"];
|
||||
"modules-center" = ["mpris"];
|
||||
"modules-center" = ["custom/spotify"];
|
||||
"modules-right" = [
|
||||
"cpu"
|
||||
"memory"
|
||||
|
|
@ -102,10 +102,10 @@ in {
|
|||
"custom/spotify" = {
|
||||
format = "{}";
|
||||
"return-type" = "json";
|
||||
"on-click" = "playerctl -p spotify play-pause";
|
||||
"on-click-right" = "spotifatius toggle-liked";
|
||||
"on-click-middle" = "playerctl -p spotify next";
|
||||
exec = "spotifatius monitor";
|
||||
"on-click" = "${lib.getExe inputs.ciderd.packages.${pkgs.system}.default} play-pause";
|
||||
"on-click-right" = "${lib.getExe inputs.ciderd.packages.${pkgs.system}.default} like";
|
||||
"on-click-middle" = "${lib.getExe inputs.ciderd.packages.${pkgs.system}.default} skip";
|
||||
exec = "${lib.getExe inputs.ciderd.packages.${pkgs.system}.default} monitor";
|
||||
};
|
||||
|
||||
"custom/mullvad" = {
|
||||
|
|
|
|||
|
|
@ -105,6 +105,11 @@ menu,
|
|||
border-radius: 6px;
|
||||
}
|
||||
|
||||
#custom-spotify.paused {
|
||||
font-style: italic;
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
#custom-mullvad,
|
||||
#custom-notification {
|
||||
padding-left: 12px;
|
||||
|
|
|
|||
|
|
@ -10,25 +10,12 @@ with lib.custom; let
|
|||
in {
|
||||
options.services.vpn = with types; {
|
||||
enable = mkBoolOpt false "Enable VPN service(s)";
|
||||
|
||||
mullvad = mkBoolOpt false "Enable Mullvad VPN Daemon";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.mullvad-vpn = {
|
||||
enable = cfg.mullvad;
|
||||
enable = true;
|
||||
package = nixos-stable.mullvad;
|
||||
};
|
||||
|
||||
services.openvpn = {
|
||||
servers = {
|
||||
work = {
|
||||
config = ''config /home/zoey/Downloads/zachary_myers.ovpn'';
|
||||
updateResolvConf = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services.openvpn-work.wantedBy = lib.mkForce [];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue