summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2021-02-20 21:17:55 -0500
committerKjetil Orbekk <kj@orbekk.com>2021-02-20 21:17:55 -0500
commit8cd3800386617a3ad1a2dea4e8856fa5ab064358 (patch)
tree2bc739da0b28137eeb1e2577c1d04356d921060c /machines
parente51ac807843d1130c9d50b8f121d5d52fc4c87c2 (diff)
Add config for firelink
Diffstat (limited to 'machines')
-rw-r--r--machines/firelink.nix19
1 files changed, 9 insertions, 10 deletions
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 = {