about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-02-07 04:06:30 +0900
committersefidel <contact@sefidel.net>2024-02-07 04:06:30 +0900
commit2d3ac698d2352dd83375ec346a90b44efe869318 (patch)
treeb3d4fa320bf34b1b0861b3d545e992c47039a95a
parent3a63e8c84df2f5cae625e8c85c9c605f67e2a546 (diff)
downloadnixrc-2d3ac698d2352dd83375ec346a90b44efe869318.tar.gz
nixrc-2d3ac698d2352dd83375ec346a90b44efe869318.zip
feat(nixos/kanata): use cloudflared 2024.1.5
-rw-r--r--flake.lock17
-rw-r--r--flake.nix1
-rw-r--r--nixos/default.nix4
3 files changed, 21 insertions, 1 deletions
diff --git a/flake.lock b/flake.lock
index 7a97790..d08928e 100644
--- a/flake.lock
+++ b/flake.lock
@@ -372,6 +372,22 @@
         "type": "github"
       }
     },
+    "nixpkgs-cloudflared": {
+      "locked": {
+        "lastModified": 1707128098,
+        "narHash": "sha256-D9ql75BcezSBiuF5tVdp8UAf6FtMF903OhJiXPp5Jx8=",
+        "owner": "sefidel",
+        "repo": "nixpkgs",
+        "rev": "6a5493356497e911510ed8e48ec4779fa95438ff",
+        "type": "github"
+      },
+      "original": {
+        "owner": "sefidel",
+        "ref": "cloudflared-2024.1.5",
+        "repo": "nixpkgs",
+        "type": "github"
+      }
+    },
     "nixpkgs-crystal": {
       "locked": {
         "lastModified": 1707048676,
@@ -462,6 +478,7 @@
         "neovim-nightly": "neovim-nightly",
         "nix-gaming": "nix-gaming",
         "nixpkgs-2311": "nixpkgs-2311",
+        "nixpkgs-cloudflared": "nixpkgs-cloudflared",
         "nixpkgs-crystal": "nixpkgs-crystal",
         "nixpkgs-master": "nixpkgs-master",
         "nur": "nur",
diff --git a/flake.nix b/flake.nix
index 64ddd10..18ca831 100644
--- a/flake.nix
+++ b/flake.nix
@@ -8,6 +8,7 @@
     nixpkgs-2311.url = "github:nixos/nixpkgs/nixos-23.11";
 
     nixpkgs-crystal.url = "github:sefidel/nixpkgs/crystal_1_11";
+    nixpkgs-cloudflared.url = "github:sefidel/nixpkgs/cloudflared-2024.1.5";
 
     home-manager.url = "github:nix-community/home-manager";
     home-manager.inputs.nixpkgs.follows = "unstable";
diff --git a/nixos/default.nix b/nixos/default.nix
index 9e368db..cdda29c 100644
--- a/nixos/default.nix
+++ b/nixos/default.nix
@@ -1,4 +1,4 @@
-{ self, unstable, nixpkgs-crystal, ... } @ inputs:
+{ self, unstable, nixpkgs-crystal, nixpkgs-cloudflared, ... } @ inputs:
 
 {
   alpha = self.lib.mkSystem {
@@ -30,6 +30,8 @@
       (final: prev: {
         inherit (nixpkgs-crystal.legacyPackages.x86_64-linux)
           crystal invidious;
+        inherit (nixpkgs-cloudflared.legacyPackages.x86_64-linux)
+          cloudflared;
       })
     ];
   };