Revert "nixpkgs: patching test"

This reverts commit 6204949bdc.
This commit is contained in:
2025-11-24 16:43:16 -05:00
parent 6204949bdc
commit 7532efdc28
2 changed files with 4 additions and 132 deletions

View File

@@ -70,6 +70,7 @@
outputs =
{
self,
nixpkgs,
lanzaboote,
nixos-hardware,
home-manager,
@@ -85,26 +86,15 @@
"yarn"
];
niri-package = inputs.niri.packages.${system}.niri-unstable;
patchedNixpkgsSrc = (import inputs.nixpkgs { inherit system; }).applyPatches {
name = "nixpkgs-patched";
src = inputs.nixpkgs;
patches = [ ./0001-feat-make-boot-messages-configureable.patch ];
};
patchedNixpkgs = import patchedNixpkgsSrc { inherit system; };
in
{
formatter.${system} = patchedNixpkgs.nixfmt-rfc-style;
formatter.${system} = nixpkgs.legacyPackages.${system}.nixfmt-rfc-style;
nixosConfigurations = patchedNixpkgs.lib.foldl' (
nixosConfigurations = nixpkgs.lib.foldl' (
config: hostname:
config
// {
"${hostname}" = import "${patchedNixpkgsSrc}/nixos/lib/eval-config.nix" {
lib = patchedNixpkgs.lib;
baseModules = import "${patchedNixpkgsSrc}/nixos/modules/module-list.nix";
inherit system;
"${hostname}" = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit
inputs