Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add clan flake-parts module #1217

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

17 changes: 17 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
agenix-shell.url = "github:aciceri/agenix-shell";
agenix-shell.inputs.nixpkgs.follows = "nixpkgs";
devenv.url = "github:hercules-ci/devenv/flake-module";
clan.url = "https://git.clan.lol/clan/clan-core/archive/main.tar.gz";
Mic92 marked this conversation as resolved.
Show resolved Hide resolved
clan.inputs.treefmt-nix.follows = "treefmt-nix";
clan.inputs.flake-parts.follows = "flake-parts";
clan.inputs.nixpkgs.follows = "nixpkgs";
devenv.inputs.nixpkgs.follows = "nixpkgs";
devshell.url = "github:numtide/devshell";
devshell.inputs.nixpkgs.follows = "nixpkgs"; # https://github.com/NixOS/nix/issues/7730
Expand Down Expand Up @@ -103,6 +107,19 @@
'';
};

clan = {
title = "clan";
baseUrl = "https://git.clan.lol/clan/clan-core/src/branch/main";
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