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