Compare commits
2 commits
39e2eefd98
...
cecfd15fd2
Author | SHA1 | Date | |
---|---|---|---|
cecfd15fd2 | |||
6e3dd312a4 |
2 changed files with 28 additions and 15 deletions
|
@ -6,15 +6,24 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (inputs) quickshell;
|
inherit (inputs) quickshell;
|
||||||
in {
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
quickshell.packages.x86_64-linux.default
|
|
||||||
qt6.qtimageformats
|
|
||||||
qt6.qt5compat
|
|
||||||
qt6.qtmultimedia
|
|
||||||
qt6.qtdeclarative
|
|
||||||
];
|
|
||||||
|
|
||||||
# taken from outfoxxed.
|
inherit (lib.modules) mkIf;
|
||||||
qt.enable = true;
|
inherit (lib.options) mkEnableOption;
|
||||||
|
|
||||||
|
cfg = config.modules.theming.quickshell;
|
||||||
|
in {
|
||||||
|
options.modules.theming.quickshell.enable = mkEnableOption "quickshell";
|
||||||
|
|
||||||
|
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;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,17 +18,21 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
nameservers = [
|
nameservers = [
|
||||||
# quad9 DNS
|
# I have choosen Mullvad DNS as my standard DNS provider,
|
||||||
"9.9.9.9"
|
# as Quad9 at some point stopped resolving my universitie's IP address.
|
||||||
"2620::fe::fe"
|
# Furthermore, Mullvad has a pretty good reputation when it comes to privacy
|
||||||
|
"194.242.2.4"
|
||||||
|
"2a07:e340::4"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
services.resolved = {
|
services.resolved = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dnssec = "false";
|
dnssec = "false";
|
||||||
dnsovertls = "opportunistic";
|
dnsovertls = "opportunistic";
|
||||||
# quad9 dns
|
fallbackDns = [
|
||||||
fallbackDns = ["9.9.9.9" "2620::fe::fe"];
|
"194.242.2.4"
|
||||||
|
"2a07:e340::4"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
users.users.${username}.extraGroups = ["networkmanager"];
|
users.users.${username}.extraGroups = ["networkmanager"];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue