feat: reenable immich with native module, prepare nixos-extra-modules update

This commit is contained in:
oddlama 2025-09-13 20:18:54 +02:00
parent ef2f2a9b77
commit 157c303f38
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
25 changed files with 1521 additions and 184 deletions

39
flake/pkgs.nix Normal file
View file

@ -0,0 +1,39 @@
{ inputs, ... }:
{
imports = [
(
{
lib,
flake-parts-lib,
...
}:
flake-parts-lib.mkTransposedPerSystemModule {
name = "pkgs";
file = ./pkgs.nix;
option = lib.mkOption {
type = lib.types.unspecified;
};
}
)
];
perSystem =
{
pkgs,
system,
...
}:
{
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
config.allowUnfree = true;
overlays = (import ../pkgs/default.nix inputs) ++ [
inputs.nix-topology.overlays.default
# inputs.nixos-cosmic.overlays.default
inputs.nixos-extra-modules.overlays.default
];
};
inherit pkgs;
};
}