Skip to content

Commit

Permalink
add clan flake-parts module
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Jan 14, 2025
1 parent a5b316e commit 112db9f
Show file tree
Hide file tree
Showing 2 changed files with 125 additions and 6 deletions.
113 changes: 107 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
agenix-shell.inputs.nixpkgs.follows = "nixpkgs";
devenv.url = "github:cachix/devenv";
devenv.inputs.nixpkgs.follows = "nixpkgs";
clan-core.url = "https://git.clan.lol/clan/clan-core/archive/main.tar.gz";
clan-core.inputs.treefmt-nix.follows = "treefmt-nix";
clan-core.inputs.flake-parts.follows = "flake-parts";
clan-core.inputs.nixpkgs.follows = "nixpkgs";
devshell.url = "github:numtide/devshell";
devshell.inputs.nixpkgs.follows = "nixpkgs"; # https://github.com/NixOS/nix/issues/7730
dream2nix_legacy.inputs.pre-commit-hooks.follows = "git-hooks-nix";
Expand Down Expand Up @@ -102,6 +106,20 @@
'';
};

clan = {
title = "clan";
baseUrl = "https://git.clan.lol/clan/clan-core/src/branch/main";
flakeRef = "https://git.clan.lol/clan/clan-core/archive/main.tar.gz";
attributePath = [ "flakeModules" "default" ];
intro = ''
[Clan](https://clan.lol) is a multi-machine configuration framework for NixOS with a focus on
VPNs, automatic secret and backup management.
Checkout our [documentation](https://docs.clan.lol/manual/flake-parts/) for more information on using the flake-parts module and
also our [getting started guide](https://docs.clan.lol/getting-started) for general information.
'';
};

devenv = {
title = "devenv";
baseUrl = "https://github.com/cachix/devenv/blob/main";
Expand Down

0 comments on commit 112db9f

Please sign in to comment.