test
This commit is contained in:
parent
8b95e6e0a0
commit
afe6cc0f5b
40
flake.nix
40
flake.nix
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user