From 700cbc7a8d55594f5cfe3742f01422987cfd53f8 Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Wed, 20 May 2026 18:52:19 +0200 Subject: [PATCH] mullvad: reworked settings --- modules/home-manager/hyprland.nix | 2 +- modules/home-manager/mullvad.nix | 10 +++------- modules/nixos/mullvad.nix | 3 ++- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/modules/home-manager/hyprland.nix b/modules/home-manager/hyprland.nix index 0ec1988..21121fa 100644 --- a/modules/home-manager/hyprland.nix +++ b/modules/home-manager/hyprland.nix @@ -428,7 +428,7 @@ in { "float on, match:class ^(kitty)$, match:title ^(htop)$" "float on, match:class ^(vlc)$" "float on, match:class ^(eog)$" - "float on, size 400 175, match:class ^(custom-librewolfprofiles)$" + "float on, size 400 225, match:class ^(custom-librewolfprofiles)$" "float on, size 1050 200, match:class ^(custom-changeAudioOutput)$" "float on, size 400 175, match:class ^(custom-obsidianvaults)$" "float on, size 600 600, match:initial_class ^(custom-pomodoro)$" diff --git a/modules/home-manager/mullvad.nix b/modules/home-manager/mullvad.nix index d5c01ad..94ce2a9 100644 --- a/modules/home-manager/mullvad.nix +++ b/modules/home-manager/mullvad.nix @@ -1,11 +1,7 @@ # see also ../nixos/mullvad.nix -_: { - programs.mullvad-vpn = { +{pkgs-unstable,...}: { + programs.mullvad-vpn = { # gui enable = true; - # see https://github.com/mullvad/mullvadvpn-app/blob/main/desktop/packages/mullvad-vpn/src/main/gui-settings.ts for options - settings = { - autoConnect = true; - autoStart = true; - }; + package = pkgs-unstable.mullvad-vpn; }; } diff --git a/modules/nixos/mullvad.nix b/modules/nixos/mullvad.nix index 2ca7e01..3922349 100644 --- a/modules/nixos/mullvad.nix +++ b/modules/nixos/mullvad.nix @@ -1,5 +1,6 @@ # see also ../home-manager/mullvad.nix -{pkgs-unstable, ...}: { +{pkgs-unstable, ...}: +{ services.mullvad-vpn = { enable = true; package = pkgs-unstable.mullvad-vpn;