Add grav patches

This commit is contained in:
muon 2024-12-30 10:20:18 +00:00
parent 1feb13e852
commit c02b1d5380
2 changed files with 32 additions and 12 deletions

View file

@ -17,9 +17,28 @@
let
system = "x86_64-linux";
pkgs = import inputs.nixpkgs { inherit system; };
pkgs' = (import inputs.nixpkgs { inherit system; }).applyPatches {
name = "nixpkgs-unstable-patched";
src = inputs.nixpkgs;
patches = [
(builtins.fetchurl {
url =
"https://patch-diff.githubusercontent.com/raw/NixOS/nixpkgs/pull/369042.patch";
sha256 =
"sha256:08asxmd34rzaxb8dr4nccy26k3vxnx7psy2imnp40fdplqna0a85";
})
(builtins.fetchurl {
url =
"https://patch-diff.githubusercontent.com/raw/NixOS/nixpkgs/pull/368790.patch";
sha256 =
"sha256:1blsawm4l30wkrdkvvq0fw2aki7v921isdwrk9dw8yh09cglbfd9";
})
];
};
utils = import ./utils.nix { inherit inputs system; };
pkgs = import pkgs' { inherit system; };
utils = import ./utils.nix { inherit inputs system pkgs; };
in {
nixosConfigurations = {
# desktop

View file

@ -1,6 +1,7 @@
{ inputs, system, ... }: {
mkHost = host: inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs system; };
{ inputs, system, pkgs, ... }: {
mkHost = host:
inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs system pkgs; };
modules = [
host