Refactor flake.nix and NixOS module for lidarr-mb-gap

- Updated `flake.nix` to simplify package and app definitions by using `inherit` for better readability.
- Removed the `EXAMPLE_CONFIG.nix` file to streamline the project structure, as it was no longer needed.
- Enhanced `nixos/lidarr-mb-gap.nix` to improve the import process for the source configuration, ensuring clarity and maintainability.
This commit is contained in:
Danilo Reyes
2025-11-11 16:14:29 -06:00
parent b67e154777
commit 0403647a1c
3 changed files with 3 additions and 148 deletions

View File

@@ -8,7 +8,7 @@
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
lib = pkgs.lib;
inherit (pkgs) lib;
lidarr-mb-gap = import ./nix/package.nix {
inherit pkgs;
src = lib.cleanSource ./src;
@@ -19,7 +19,7 @@
packages.${system} = {
default = lidarr-mb-gap;
lidarr-mb-gap = lidarr-mb-gap;
inherit lidarr-mb-gap;
};
apps.${system} = {