Cleanup Overlays

This commit is contained in:
2024-05-04 16:13:09 -04:00
parent e9f36c71ce
commit 683f19d596
3 changed files with 16 additions and 16 deletions

View File

@@ -11,30 +11,17 @@
};
outputs = { self, nixpkgs, sops-nix, me-emacs, nix-darwin, home-manager }@attrs: let
hydraGitea = (final: prev: {
hydra_unstable = prev.hydra_unstable.overrideAttrs
(old: {
doCheck = false;
patches = [
(final.fetchpatch {
name = "hydra-gitea-push-patch";
url = "https://patch-diff.githubusercontent.com/raw/NixOS/hydra/pull/1227.patch";
sha256 = "A4dN/4zLMKLYaD38lu87lzAWH/3EUM7G5njx7Q4W47w=";
})
];
});
});
nvidiaContainer = import ./nvidiacontainer-overlay.nix nixpkgs;
hydraGitea = import ./overlays/hydra.nix;
nvidiaContainer = import ./overlays/nvidiacontainer.nix nixpkgs;
me-emacs-overlay = me-emacs.overlays.default;
# Configuration for `nixpkgs`
nixpkgsConfig = {
config = { allowUnfree = true; };
};
me-emacs-overlay = me-emacs.overlays.default;
pkgs_linux-x86_64 = nixpkgs.legacyPackages."x86-linux";
pkgs_linux-aarch64 = nixpkgs.legacyPackages."aarch64-linux";
in {
nixosConfigurations = {
nixos = nixpkgs.lib.nixosSystem {

13
overlays/hydra.nix Normal file
View File

@@ -0,0 +1,13 @@
(final: prev: {
hydra_unstable = prev.hydra_unstable.overrideAttrs
(old: {
doCheck = false;
patches = [
(final.fetchpatch {
name = "hydra-gitea-push-patch";
url = "https://patch-diff.githubusercontent.com/raw/NixOS/hydra/pull/1227.patch";
sha256 = "A4dN/4zLMKLYaD38lu87lzAWH/3EUM7G5njx7Q4W47w=";
})
];
});
});