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 {
|
||||
|
||||
@@ -12,7 +12,7 @@ in {
|
||||
nodejs
|
||||
appimage-run
|
||||
seahorse
|
||||
# Remove `brasero` if present
|
||||
|
||||
];
|
||||
|
||||
|
||||
@@ -108,12 +108,5 @@ services.xrdp.openFirewall = true;
|
||||
# WantedBy = [ "default.target" ];
|
||||
# };
|
||||
# };
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
brasero = prev.brasero.overrideAttrs (old: {
|
||||
configureFlags = (old.configureFlags or []) ++ ["--without-dvdauthor"];
|
||||
# Or remove dvdauthor from propagatedBuildInputs
|
||||
});
|
||||
})
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user