Updated flake to include overlay for dvdauthor on nixos
modified: flake.nix modified: hosts/nixos/configuration.nix
This commit is contained in:
15
flake.nix
15
flake.nix
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user