This commit is contained in:
Simon Gardling 2025-04-07 21:39:19 -04:00
parent 8b95e6e0a0
commit afe6cc0f5b
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -66,21 +66,24 @@
"yarn"
];
# pkgs =
# (import nixpkgs {
# }).applyPatches
# {
# name = "nixpkgs";
# src = inputs.nixpkgs;
# patches = [
# # https://github.com/NixOS/nixpkgs/pull/67576
# # gimp 3.0
# (builtins.fetchurl {
# url = "https://github.com/NixOS/nixpkgs/pull/67576.diff";
# sha256 = "1idkhfirjba6iywkddyhm980x44kfl9lmp51cyfqrpbq7wlzpnia";
# })
# ];
# };
pkgs = import (
(import nixpkgs {
inherit system;
}).applyPatches
{
name = "nixpkgs";
src = inputs.nixpkgs;
patches = [
# https://github.com/NixOS/nixpkgs/pull/67576
# gimp 3.0
(builtins.fetchurl {
url = "https://github.com/NixOS/nixpkgs/pull/67576.diff";
sha256 = "1idkhfirjba6iywkddyhm980x44kfl9lmp51cyfqrpbq7wlzpnia";
})
];
}
) { inherit system; };
in
{
formatter.${system} = nixpkgs.legacyPackages.${system}.nixfmt-rfc-style;
@ -90,7 +93,12 @@
// {
"${hostname}" = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs username hostname;
inherit
inputs
username
hostname
pkgs
;
};
modules = [
home-manager.nixosModules.home-manager