summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix1
-rw-r--r--machines/firelink.nix19
2 files changed, 10 insertions, 10 deletions
diff --git a/flake.nix b/flake.nix
index 21edd3a..6dcce7c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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 = {