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
|
let
|
||||||
system = "x86_64-linux";
|
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 {
|
in {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
# desktop
|
# desktop
|
||||||
|
|
|
||||||
21
utils.nix
21
utils.nix
|
|
@ -1,12 +1,13 @@
|
||||||
{ inputs, system, ... }: {
|
{ inputs, system, pkgs, ... }: {
|
||||||
mkHost = host: inputs.nixpkgs.lib.nixosSystem {
|
mkHost = host:
|
||||||
specialArgs = { inherit inputs system; };
|
inputs.nixpkgs.lib.nixosSystem {
|
||||||
|
specialArgs = { inherit inputs system pkgs; };
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
host
|
host
|
||||||
./modules/nixos
|
./modules/nixos
|
||||||
inputs.home-manager.nixosModules.default
|
inputs.home-manager.nixosModules.default
|
||||||
inputs.stylix.nixosModules.stylix
|
inputs.stylix.nixosModules.stylix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue