Compare commits
2 commits
af6a3bce3e
...
1a658f1668
| Author | SHA1 | Date | |
|---|---|---|---|
| 1a658f1668 | |||
| 620f2867e2 |
8 changed files with 412 additions and 274 deletions
639
flake.lock
generated
639
flake.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -68,6 +68,12 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ciderd = {
|
||||||
|
url = "git+https://code.zoeys.cloud/zoey/ciderd";
|
||||||
|
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
hypridle = {
|
hypridle = {
|
||||||
url = "github:hyprwm/hypridle";
|
url = "github:hyprwm/hypridle";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
|
||||||
|
|
@ -150,8 +150,10 @@
|
||||||
awscli2
|
awscli2
|
||||||
monero-cli
|
monero-cli
|
||||||
|
|
||||||
zoom-us
|
|
||||||
pandoc
|
pandoc
|
||||||
|
cider-2
|
||||||
|
|
||||||
|
feather
|
||||||
|
|
||||||
qt6Packages.qt5compat
|
qt6Packages.qt5compat
|
||||||
libsForQt5.qt5.qtgraphicaleffects
|
libsForQt5.qt5.qtgraphicaleffects
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ in {
|
||||||
passthrough = false;
|
passthrough = false;
|
||||||
"fixed-center" = true;
|
"fixed-center" = true;
|
||||||
"modules-left" = ["hyprland/workspaces" "hyprland/window" "niri/workspaces" "niri/window" "network#speed" "custom/cava-system" "custom/cava-tt"];
|
"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" = [
|
"modules-right" = [
|
||||||
"cpu"
|
"cpu"
|
||||||
"memory"
|
"memory"
|
||||||
|
|
@ -102,10 +102,10 @@ in {
|
||||||
"custom/spotify" = {
|
"custom/spotify" = {
|
||||||
format = "{}";
|
format = "{}";
|
||||||
"return-type" = "json";
|
"return-type" = "json";
|
||||||
"on-click" = "playerctl -p spotify play-pause";
|
"on-click" = "${lib.getExe inputs.ciderd.packages.${pkgs.system}.default} play-pause";
|
||||||
"on-click-right" = "spotifatius toggle-liked";
|
"on-click-right" = "${lib.getExe inputs.ciderd.packages.${pkgs.system}.default} like";
|
||||||
"on-click-middle" = "playerctl -p spotify next";
|
"on-click-middle" = "${lib.getExe inputs.ciderd.packages.${pkgs.system}.default} skip";
|
||||||
exec = "spotifatius monitor";
|
exec = "${lib.getExe inputs.ciderd.packages.${pkgs.system}.default} monitor";
|
||||||
};
|
};
|
||||||
|
|
||||||
"custom/mullvad" = {
|
"custom/mullvad" = {
|
||||||
|
|
|
||||||
|
|
@ -105,6 +105,11 @@ menu,
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#custom-spotify.paused {
|
||||||
|
font-style: italic;
|
||||||
|
opacity: 0.75;
|
||||||
|
}
|
||||||
|
|
||||||
#custom-mullvad,
|
#custom-mullvad,
|
||||||
#custom-notification {
|
#custom-notification {
|
||||||
padding-left: 12px;
|
padding-left: 12px;
|
||||||
|
|
|
||||||
|
|
@ -177,7 +177,7 @@ with lib.custom; {
|
||||||
{command = ["${pkgs.writeShellScriptBin "thunderbird-delayed" ''sleep 5; thunderbird''}/bin/thunderbird-delayed"];}
|
{command = ["${pkgs.writeShellScriptBin "thunderbird-delayed" ''sleep 5; thunderbird''}/bin/thunderbird-delayed"];}
|
||||||
{command = ["${pkgs.writeShellScriptBin "zen-delayed" ''sleep 5; zen''}/bin/zen-delayed"];}
|
{command = ["${pkgs.writeShellScriptBin "zen-delayed" ''sleep 5; zen''}/bin/zen-delayed"];}
|
||||||
{command = ["vesktop"];}
|
{command = ["vesktop"];}
|
||||||
{command = ["spotify"];}
|
{command = ["cider-2"];}
|
||||||
|
|
||||||
{command = ["${spawnSlackOnWeekday}/bin/spawn-slack-on-weekday"];}
|
{command = ["${spawnSlackOnWeekday}/bin/spawn-slack-on-weekday"];}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -10,25 +10,12 @@ with lib.custom; let
|
||||||
in {
|
in {
|
||||||
options.services.vpn = with types; {
|
options.services.vpn = with types; {
|
||||||
enable = mkBoolOpt false "Enable VPN service(s)";
|
enable = mkBoolOpt false "Enable VPN service(s)";
|
||||||
|
|
||||||
mullvad = mkBoolOpt false "Enable Mullvad VPN Daemon";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.mullvad-vpn = {
|
services.mullvad-vpn = {
|
||||||
enable = cfg.mullvad;
|
enable = true;
|
||||||
package = nixos-stable.mullvad;
|
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 [];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -106,15 +106,12 @@
|
||||||
|
|
||||||
protocols.wayland.enable = true;
|
protocols.wayland.enable = true;
|
||||||
|
|
||||||
programs.openvpn3.enable = true;
|
|
||||||
|
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0664", GROUP="plugdev"
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0664", GROUP="plugdev"
|
||||||
'';
|
'';
|
||||||
services.fstrim.enable = true;
|
services.fstrim.enable = true;
|
||||||
services.vpn.enable = true;
|
services.vpn.enable = true;
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
services.vpn.mullvad = true;
|
|
||||||
services.lorri.enable = true;
|
services.lorri.enable = true;
|
||||||
services.udisks2.enable = true;
|
services.udisks2.enable = true;
|
||||||
services.crypto.enable = true;
|
services.crypto.enable = true;
|
||||||
|
|
@ -143,6 +140,7 @@
|
||||||
networking.extraHosts = ''
|
networking.extraHosts = ''
|
||||||
127.0.0.1 blahaj.local
|
127.0.0.1 blahaj.local
|
||||||
127.0.0.1 test.blahaj.local
|
127.0.0.1 test.blahaj.local
|
||||||
|
127.0.0.2 earth
|
||||||
'';
|
'';
|
||||||
|
|
||||||
networking.networkmanager = {
|
networking.networkmanager = {
|
||||||
|
|
@ -227,7 +225,6 @@
|
||||||
withDeltaUpdates = true;
|
withDeltaUpdates = true;
|
||||||
})
|
})
|
||||||
inputs.agenix.packages.${system}.agenix
|
inputs.agenix.packages.${system}.agenix
|
||||||
inputs.awsvpnclient.packages.${system}.awsvpnclient
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue