Updated flake to include overlay for dvdauthor on nixos

modified:   flake.nix
	modified:   hosts/nixos/configuration.nix
This commit is contained in:
2025-07-16 16:06:26 +10:00
parent beb66ee454
commit 3ab72dc590
2 changed files with 16 additions and 10 deletions

View File

@@ -11,7 +11,20 @@
};
outputs = { self, nixpkgs, nixos-conf-editor, home-manager, ... } @ inputs:
let system = "x86_64-linux"; in {
let system = "x86_64-linux";
# Import nixpkgs with our overlay applied
pkgs = import nixpkgs {
inherit system;
overlays = [
# Your dvdauthor patch overlay
(final: prev: {
dvdauthor = prev.dvdauthor.overrideAttrs (old: {
nativeBuildInputs = (old.nativeBuildInputs or []) ++ [ prev.gettext ];
});
})
];
};
in {
nixosConfigurations = {
# automatically use each host folder by name
nixos = nixpkgs.lib.nixosSystem {