Merge pull request 'move out non-toplevel flake modules from flake.nix' (#96) from Mic92-mic92 into main
This commit is contained in:
@@ -25,14 +25,9 @@
|
|||||||
./devShell.nix
|
./devShell.nix
|
||||||
./formatter.nix
|
./formatter.nix
|
||||||
./templates/flake-module.nix
|
./templates/flake-module.nix
|
||||||
./templates/python-project/flake-module.nix
|
|
||||||
|
|
||||||
./pkgs/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
|
./lib/flake-module.nix
|
||||||
({ self, lib, ... }: {
|
({ self, lib, ... }: {
|
||||||
flake.nixosModules = lib.mapAttrs (_: nix: { imports = [ nix ]; }) (self.lib.findNixFiles ./nixosModules);
|
flake.nixosModules = lib.mapAttrs (_: nix: { imports = [ nix ]; }) (self.lib.findNixFiles ./nixosModules);
|
||||||
|
|||||||
@@ -1,4 +1,10 @@
|
|||||||
{ ... }: {
|
{ ... }: {
|
||||||
|
imports = [
|
||||||
|
./clan-cli/flake-module.nix
|
||||||
|
./installer/flake-module.nix
|
||||||
|
./ui/flake-module.nix
|
||||||
|
];
|
||||||
|
|
||||||
perSystem = { pkgs, config, ... }: {
|
perSystem = { pkgs, config, ... }: {
|
||||||
packages = {
|
packages = {
|
||||||
tea-create-pr = pkgs.callPackage ./tea-create-pr { };
|
tea-create-pr = pkgs.callPackage ./tea-create-pr { };
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
{ ... }: {
|
{
|
||||||
|
imports = [
|
||||||
|
./python-project/flake-module.nix
|
||||||
|
];
|
||||||
flake.templates = {
|
flake.templates = {
|
||||||
new-clan = {
|
new-clan = {
|
||||||
description = "Initialize a new clan flake";
|
description = "Initialize a new clan flake";
|
||||||
|
|||||||
Reference in New Issue
Block a user