mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add grav patches
This commit is contained in:
parent
1feb13e852
commit
c02b1d5380
2 changed files with 32 additions and 12 deletions
23
flake.nix
23
flake.nix
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue