From d152427a85dedb161c457502b4293d323f78db94 Mon Sep 17 00:00:00 2001 From: Natalie Marks Date: Tue, 16 Apr 2024 00:25:43 -0700 Subject: [PATCH] updated system config --- configuration.nix | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index 00d2355..d534970 100644 --- a/configuration.nix +++ b/configuration.nix @@ -8,6 +8,24 @@ }: { nixpkgs.config.allowUnfree = true; + systemd.timers.duckdns = { + wantedBy = ["timers.target"]; + timerConfig = { + OnBootSec = "5m"; + OnUnitActiveSec = "5m"; + Unit = "duckdns.service"; + }; + }; + + systemd.services.duckdns = { + enable = true; + script = ''echo url="https://www.duckdns.org/update?domains=pathfinder2e&token=9c1ffa47-7496-4975-ba2b-a6928b28c500&ip=" | curl -k -o ~/duckdns/duck.log -K -''; + serviceConfig = { + Type = "oneshot"; + User = "root"; + }; + }; + services.flatpak.enable = true; nix.settings.experimental-features = ["nix-command" "flakes"]; @@ -17,8 +35,6 @@ services.tailscale.enable = true; - discord.enable = true; - services.keyd = { enable = true; keyboards = {