diff options
-rw-r--r-- | flake.nix | 1 | ||||
-rw-r--r-- | machines/firelink.nix | 19 |
2 files changed, 10 insertions, 10 deletions
@@ -31,6 +31,7 @@ myMachines = [ { hostName = "pincer"; module = ./machines/x1-pincer.nix; } { hostName = "dragon"; } + { hostName = "firelink"; } ]; in builtins.listToAttrs (map mkConfig myMachines); }; 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 <nixpkgs_unstable> {}; 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 = { |