1
0

flake.nix: Expose modules in flake

This commit is contained in:
clerie 2024-05-13 16:33:20 +02:00
parent 6beb8db05a
commit e777528435
Signed by: clerie
GPG Key ID: BD9F56480870BAD2
3 changed files with 6 additions and 2 deletions

View File

@ -2,8 +2,6 @@
{
imports = [
../../modules
./backup.nix
./locale.nix
./networking.nix

View File

@ -92,6 +92,11 @@
nixosConfigurations = helper.mapToNixosConfigurations self.clerie.hosts;
nixosModules = {
clerie = import ./modules;
default = self.nixosModules.clerie;
};
overlays = {
nixfilesInputs = import ./flake/overlay.nix inputs;
clerie = import ./pkgs/overlay.nix;

View File

@ -11,6 +11,7 @@ rec {
in localNixpkgs.lib.nixosSystem {
system = system;
modules = modules ++ [
self.nixosModules.clerie
({ ... }: {
/*
Make the contents of the flake availiable to modules.