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