diff --git a/modules/nixos/deno-netlify-ddns-client.nix b/modules/nixos/deno-netlify-ddns-client.nix index b491363..a1fa08b 100644 --- a/modules/nixos/deno-netlify-ddns-client.nix +++ b/modules/nixos/deno-netlify-ddns-client.nix @@ -70,7 +70,8 @@ in { --max-time ${toString cfg.requestTimeout} \ -u "${cfg.username}:''${password}" \ -L "${cfg.endpoint}/v1/netlify-ddns/replace-all-relevant-user-dns-records" \ - | "${pkgs.ripgrep}/bin/ripgrep" --fixed-strings "''${password}" -r "[REDACTED]" + | "${pkgs.sd}/bin/sd" --fixed-strings "''${password}" "[REDACTED]" \ + | "${pkgs.sd}/bin/sd" -f i "Authorization: .*" "Authorization: [REST OF LINE REDACTED]" ''} ${optionalString cfg.ipv6 '' ${pkgs.curl}/bin/curl -6 -s \ @@ -79,7 +80,8 @@ in { --max-time ${toString cfg.requestTimeout} \ -u "${cfg.username}:''${password}" \ -L "${cfg.endpoint}/v1/netlify-ddns/replace-all-relevant-user-dns-records" \ - | "${pkgs.ripgrep}/bin/ripgrep" --fixed-strings "''${password}" -r "[REDACTED]" + | "${pkgs.sd}/bin/sd" --fixed-strings "''${password}" "[REDACTED]" \ + | "${pkgs.sd}/bin/sd" -f i "Authorization: .*" "Authorization: [REST OF LINE REDACTED]" ''} ''; serviceConfig = { diff --git a/nixos/foxtrot.nix b/nixos/foxtrot.nix index bdbfa7f..135d453 100644 --- a/nixos/foxtrot.nix +++ b/nixos/foxtrot.nix @@ -24,18 +24,16 @@ services.fwupd.enable = true; services.fwupd.extraRemotes = ["lvfs-testing"]; - # NOTE: I'm letting plasma settings handle this I guess? - /* + # NOTE: I previously let plasma settings handle this services.logind = { lidSwitch = "suspend-then-hibernate"; - # HandleLidSwitchDocked=ignore extraConfig = '' + HandleLidSwitchDocked=ignore HandlePowerKey=suspend-then-hibernate - IdleActionSec=10m + IdleActionSec=11m IdleAction=suspend-then-hibernate ''; }; - */ } ];