diff --git a/modules/style/quickshell/module.nix b/modules/style/quickshell/module.nix index 38dfcae..1c5de33 100644 --- a/modules/style/quickshell/module.nix +++ b/modules/style/quickshell/module.nix @@ -6,24 +6,15 @@ ... }: let inherit (inputs) quickshell; - - inherit (lib.modules) mkIf; - inherit (lib.options) mkEnableOption; - - cfg = config.modules.theming.quickshell; in { - options.modules.theming.quickshell.enable = mkEnableOption "quickshell"; + environment.systemPackages = with pkgs; [ + quickshell.packages.x86_64-linux.default + qt6.qtimageformats + qt6.qt5compat + qt6.qtmultimedia + qt6.qtdeclarative + ]; - config = mkIf cfg.enable { - environment.systemPackages = with pkgs; [ - quickshell.packages.x86_64-linux.default - qt6.qtimageformats - qt6.qt5compat - qt6.qtmultimedia - qt6.qtdeclarative - ]; - - # taken from outfoxxed. - qt.enable = true; - }; + # taken from outfoxxed. + qt.enable = true; } diff --git a/modules/system/os/networking/module.nix b/modules/system/os/networking/module.nix index e9f005c..bf6bb44 100644 --- a/modules/system/os/networking/module.nix +++ b/modules/system/os/networking/module.nix @@ -18,21 +18,17 @@ in { }; nameservers = [ - # I have choosen Mullvad DNS as my standard DNS provider, - # as Quad9 at some point stopped resolving my universitie's IP address. - # Furthermore, Mullvad has a pretty good reputation when it comes to privacy - "194.242.2.4" - "2a07:e340::4" + # quad9 DNS + "9.9.9.9" + "2620::fe::fe" ]; }; services.resolved = { enable = true; dnssec = "false"; dnsovertls = "opportunistic"; - fallbackDns = [ - "194.242.2.4" - "2a07:e340::4" - ]; + # quad9 dns + fallbackDns = ["9.9.9.9" "2620::fe::fe"]; }; users.users.${username}.extraGroups = ["networkmanager"];