summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorbeeb5k <beebeeb5k@gmail.com>2026-06-08 16:35:58 +0530
committerbeeb5k <beebeeb5k@gmail.com>2026-06-08 16:35:58 +0530
commit43351408e9c0bf8f69eae95734ea076a33bc0cf8 (patch)
tree5d97b0ddbc599acaca84eb357b703d6b81b443db /hosts
parent20d922e7984ad22964f31a1a3fe3377ed23d4c4a (diff)
dns, xwayland niri,steam
Diffstat (limited to 'hosts')
-rw-r--r--hosts/common.nix46
-rw-r--r--hosts/niuwux/default.nix4
2 files changed, 46 insertions, 4 deletions
diff --git a/hosts/common.nix b/hosts/common.nix
index 884e0f5..ce02ddc 100644
--- a/hosts/common.nix
+++ b/hosts/common.nix
@@ -104,8 +104,50 @@
# nix.registry.${user}.flake = inputs.self;
# nix.registry.nixpkgs.flake = inputs.nixpkgs;
- networking.networkmanager.wifi.powersave = false;
- networking.networkmanager.enable = true;
+ # TODO network provider fallback
+ # networking.networkmanager.wifi.powersave = false;
+ # networking.networkmanager = {
+ # enable = true;
+ # dns = "none";
+ # dns = lib.mkForce "none";
+ # insertNameservers = [
+ # "9.9.9.9" # Quad9
+ # "149.112.112.112" # Quad9 (Backup)
+ # "1.1.1.1" # Cloudflare
+ # "1.0.0.1" # Cloudflare (Backup)
+ # ];
+ # };
+
+ networking.networkmanager = {
+ enable = true;
+ dns = "systemd-resolved";
+ };
+
+ services.resolved = {
+ enable = true;
+ settings.Resolve = {
+ DNSOverTLS = "opportunistic";
+ DNSSEC = "allow-downgrade";
+ Domains = [ "~." ];
+ DNS = [
+ # Quad9 IPv4
+ "9.9.9.9#dns.quad9.net"
+ "149.112.112.112#dns.quad9.net"
+
+ # Quad9 IPv6
+ "2620:fe::fe#dns.quad9.net"
+ "2620:fe::9#dns.quad9.net"
+
+ # Cloudflare IPv4
+ "1.1.1.1#cloudflare-dns.com"
+ "1.0.0.1#cloudflare-dns.com"
+
+ # Cloudflare IPv6
+ "2606:4700:4700::1111#cloudflare-dns.com"
+ "2606:4700:4700::1001#cloudflare-dns.com"
+ ];
+ };
+ };
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = false;
diff --git a/hosts/niuwux/default.nix b/hosts/niuwux/default.nix
index f2d16ca..4069532 100644
--- a/hosts/niuwux/default.nix
+++ b/hosts/niuwux/default.nix
@@ -76,7 +76,7 @@
# capSysNice = true;
};
programs.steam = {
- enable = false;
+ enable = true;
protontricks.enable = true;
gamescopeSession.enable = false;
remotePlay.openFirewall = true;
@@ -118,7 +118,7 @@
hardware = {
graphics = {
enable = true;
- enable32Bit = false;
+ enable32Bit = true;
extraPackages = with pkgs; [
libvdpau-va-gl
nvidia-vaapi-driver