From 629c69f028a7bd7091cc14c5321b68b16d9d42bf Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 25 Jul 2024 13:53:32 +0200 Subject: [PATCH 1/3] fix: correct indentation in systemPackages list The alacritty package entry was misaligned in the list of systemPackages. This fix ensures consistent indentation for better readability and maintainability. --- modules/darwin/services/base/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/darwin/services/base/default.nix b/modules/darwin/services/base/default.nix index cd1ca9f..ee44c19 100644 --- a/modules/darwin/services/base/default.nix +++ b/modules/darwin/services/base/default.nix @@ -18,7 +18,7 @@ in config = mkIf cfg.enable { environment = { systemPackages = with pkgs; [ - alacritty + alacritty age delta git From 20f610b6283e9a046278bc1adc36723593e16484 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 25 Jul 2024 13:53:45 +0200 Subject: [PATCH 2/3] feat: add extraConfig for systemd-resolved Enabled ResolveUnicastSingleLabel option in systemd-resolved configuration. This ensures unicast single-label domain names can be resolved. Added in the extraConfig section. --- systems/x86_64-linux/x1/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/systems/x86_64-linux/x1/default.nix b/systems/x86_64-linux/x1/default.nix index b6ab856..211c755 100644 --- a/systems/x86_64-linux/x1/default.nix +++ b/systems/x86_64-linux/x1/default.nix @@ -27,6 +27,9 @@ with lib.metacfg; services.resolved.enable = true; services.resolved.dnssec = "allow-downgrade"; + services.resolved.extraConfig = '' + ResolveUnicastSingleLabel=yes; + ''; systemd.packages = [ pkgs.cloudflare-warp ]; # for warp-cli From d8ab5afa22c25f351cfb24457b0c4919cdbff700 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 25 Jul 2024 13:53:52 +0200 Subject: [PATCH 3/3] fix(hardware-config): correct closing bracket indentation Corrected the indentation of the closing bracket in the hardware configuration. This improves readability and consistency in the code format. --- systems/x86_64-linux/t15/hardware-configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systems/x86_64-linux/t15/hardware-configuration.nix b/systems/x86_64-linux/t15/hardware-configuration.nix index 3c0f827..15c897e 100644 --- a/systems/x86_64-linux/t15/hardware-configuration.nix +++ b/systems/x86_64-linux/t15/hardware-configuration.nix @@ -48,7 +48,7 @@ "tsx=on" "tsx_async_abort=off" "mitigations=off" - ]; + ]; boot.extraModulePackages = [ ];