summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2025-10-14 18:12:15 +0530
committersinanmohd <sinan@sinanmohd.com>2025-10-17 08:19:58 +0530
commit8c3ada3cdb868150be288223b9524fb152db26bc (patch)
tree663b47032106be6e44c646359b2ee0d707136db8 /flake.nix
parente9e51be6d7a149fbd122db51d6a2bf2673f12827 (diff)
feat(os/kay): init headscale
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index ec6258d..cb746da 100644
--- a/flake.nix
+++ b/flake.nix
@@ -6,6 +6,11 @@
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*";
+ headplane = {
+ url = "github:tale/headplane";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
@@ -31,6 +36,7 @@
nixos-hardware,
alina,
determinate,
+ headplane,
}:
let
lib = nixpkgs.lib;
@@ -69,6 +75,12 @@
./os/${host}/configuration.nix
sops-nix.nixosModules.sops
home-manager.nixosModules.home-manager
+
+ headplane.nixosModules.headplane
+ {
+ # provides `pkgs.headplane`
+ nixpkgs.overlays = [ headplane.overlays.default ];
+ }
];
});