From 80f72df094f1c703a8eb8f914fd49c417f1d98e8 Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Wed, 12 Mar 2025 17:33:23 +0800 Subject: [PATCH 1/3] add profileNames for stylix config --- home/modules/programs/firefox.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/modules/programs/firefox.nix b/home/modules/programs/firefox.nix index c847557..f16f017 100644 --- a/home/modules/programs/firefox.nix +++ b/home/modules/programs/firefox.nix @@ -16,6 +16,9 @@ in }; }; config = lib.mkIf cfg.enable { + stylix.targets.firefox.profileNames = [ + "default" + ]; programs.firefox = { enable = true; languagePacks = [ From 3bcd428c2b569ae0d2e516c1d5c1f2d04eb553fc Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Thu, 13 Mar 2025 09:19:25 +0800 Subject: [PATCH 2/3] add pipe feature support for nix --- nixos/modules/nix.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/nixos/modules/nix.nix b/nixos/modules/nix.nix index 49243b4..760fd44 100644 --- a/nixos/modules/nix.nix +++ b/nixos/modules/nix.nix @@ -32,10 +32,13 @@ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; auto-optimise-store = lib.mkDefault true; - experimental-features = [ - "nix-command" - "flakes" - ]; + experimental-features = + [ + "nix-command" + "flakes" + ] + ++ (lib.optional config.lix.enable "pipe-operator") + ++ (lib.optional (!config.lix.enable) "pipe-operators"); warn-dirty = false; system-features = [ "kvm" From 69786634cbb10d94afcfab86987607fec320426a Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Thu, 13 Mar 2025 07:47:16 +0800 Subject: [PATCH 3/3] use DoH3 in dae --- nixos/modules/programs/dae/config.dae | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/programs/dae/config.dae b/nixos/modules/programs/dae/config.dae index 80b9e11..15ffca7 100644 --- a/nixos/modules/programs/dae/config.dae +++ b/nixos/modules/programs/dae/config.dae @@ -24,8 +24,8 @@ dns { ipversion_prefer: 4 upstream { - googledns: 'tcp+udp://8.8.8.8:53' - alidns: 'udp://223.5.5.5:53' + googledns: 'http3://8.8.8.8/dns-query' + alidns: 'http3://223.6.6.6/dns-query' } routing { request {