parent
379c26527a
commit
c2e03c50ae
|
@ -70,7 +70,8 @@ in {
|
||||||
--max-time ${toString cfg.requestTimeout} \
|
--max-time ${toString cfg.requestTimeout} \
|
||||||
-u "${cfg.username}:''${password}" \
|
-u "${cfg.username}:''${password}" \
|
||||||
-L "${cfg.endpoint}/v1/netlify-ddns/replace-all-relevant-user-dns-records" \
|
-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 ''
|
${optionalString cfg.ipv6 ''
|
||||||
${pkgs.curl}/bin/curl -6 -s \
|
${pkgs.curl}/bin/curl -6 -s \
|
||||||
|
@ -79,7 +80,8 @@ in {
|
||||||
--max-time ${toString cfg.requestTimeout} \
|
--max-time ${toString cfg.requestTimeout} \
|
||||||
-u "${cfg.username}:''${password}" \
|
-u "${cfg.username}:''${password}" \
|
||||||
-L "${cfg.endpoint}/v1/netlify-ddns/replace-all-relevant-user-dns-records" \
|
-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 = {
|
serviceConfig = {
|
||||||
|
|
|
@ -24,18 +24,16 @@
|
||||||
services.fwupd.enable = true;
|
services.fwupd.enable = true;
|
||||||
services.fwupd.extraRemotes = ["lvfs-testing"];
|
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 = {
|
services.logind = {
|
||||||
lidSwitch = "suspend-then-hibernate";
|
lidSwitch = "suspend-then-hibernate";
|
||||||
# HandleLidSwitchDocked=ignore
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
HandleLidSwitchDocked=ignore
|
||||||
HandlePowerKey=suspend-then-hibernate
|
HandlePowerKey=suspend-then-hibernate
|
||||||
IdleActionSec=10m
|
IdleActionSec=11m
|
||||||
IdleAction=suspend-then-hibernate
|
IdleAction=suspend-then-hibernate
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue