From 8cd3800386617a3ad1a2dea4e8856fa5ab064358 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sat, 20 Feb 2021 21:17:55 -0500 Subject: Add config for firelink --- machines/firelink.nix | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'machines/firelink.nix') diff --git a/machines/firelink.nix b/machines/firelink.nix index 16d99cc..9b17ce2 100644 --- a/machines/firelink.nix +++ b/machines/firelink.nix @@ -1,13 +1,12 @@ { config, pkgs, lib, ... }: let - nixpkgs-unstable = import {}; my-overlay = self: super: { xow = super.xow.overrideAttrs (o: rec { src = /home/orbekk/projects/source/.; }); my-linuxPackages = - let linuxPkgs = nixpkgs-unstable.linuxPackages_latest; + let linuxPkgs = super.unstable.linuxPackages_latest; in linuxPkgs.extend (self: super: { # xpadneo = super.xpadneo.overrideAttrs (o: rec { # version = "master"; @@ -117,14 +116,14 @@ in # } # ''; - systemd.services.duckdns = { - description = "Update orbekk.duckdns.org"; - path = [ pkgs.curl ]; - after = [ "network.target" ]; - script = let token = (import ../duckdns-token.nix).token; in '' - curl "https://www.duckdns.org/update?domains=orbekk&token=${token}&ip=" - ''; - }; + #systemd.services.duckdns = { + # description = "Update orbekk.duckdns.org"; + # path = [ pkgs.curl ]; + # after = [ "network.target" ]; + # script = let token = (import ../duckdns-token.nix).token; in '' + # curl "https://www.duckdns.org/update?domains=orbekk&token=${token}&ip=" + # ''; + #}; systemd.timers.duckdns = { wantedBy = [ "timers.target" ]; timerConfig = { -- cgit v1.2.3