Merge pull request 'move out non-toplevel flake modules from flake.nix' (#96) from Mic92-mic92 into main
All checks were successful
build / test (push) Successful in 20s

This commit is contained in:
clan-bot 2023-08-08 12:04:46 +00:00
commit 6934b0a056
3 changed files with 10 additions and 6 deletions

View File

@ -25,14 +25,9 @@
./devShell.nix
./formatter.nix
./templates/flake-module.nix
./templates/python-project/flake-module.nix
./pkgs/flake-module.nix
./pkgs/clan-cli/flake-module.nix
./pkgs/installer/flake-module.nix
./pkgs/ui/flake-module.nix
./lib/flake-module.nix
({ self, lib, ... }: {
flake.nixosModules = lib.mapAttrs (_: nix: { imports = [ nix ]; }) (self.lib.findNixFiles ./nixosModules);

View File

@ -1,4 +1,10 @@
{ ... }: {
imports = [
./clan-cli/flake-module.nix
./installer/flake-module.nix
./ui/flake-module.nix
];
perSystem = { pkgs, config, ... }: {
packages = {
tea-create-pr = pkgs.callPackage ./tea-create-pr { };

View File

@ -1,4 +1,7 @@
{ ... }: {
{
imports = [
./python-project/flake-module.nix
];
flake.templates = {
new-clan = {
description = "Initialize a new clan flake";