mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
idk it's funny
This commit is contained in:
parent
22de7361dd
commit
4f8c86858a
32 changed files with 127 additions and 79 deletions
|
|
@ -1,4 +1,8 @@
|
|||
inputs':
|
||||
{
|
||||
nix,
|
||||
inputs,
|
||||
_file,
|
||||
}:
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
|
|
@ -9,10 +13,10 @@ inputs':
|
|||
#
|
||||
# Flake registry and $NIX_PATH pinning
|
||||
#
|
||||
nix.registry = lib.pipe inputs' [
|
||||
nix.registry = lib.pipe inputs [
|
||||
(lib.filterAttrs (_: lib.isType "flake"))
|
||||
(lib.mapAttrs (_: flake: { inherit flake; }))
|
||||
(x: x // { nixpkgs.flake = inputs'.unstable; })
|
||||
(x: x // { nixpkgs.flake = inputs.unstable; })
|
||||
];
|
||||
|
||||
environment.etc = lib.mapAttrs' (name: value: {
|
||||
|
|
@ -27,7 +31,7 @@ inputs':
|
|||
#
|
||||
# Use nix directly from master
|
||||
#
|
||||
nix.package = inputs'.nix.packages.default.overrideAttrs (old: {
|
||||
nix.package = nix.packages.default.overrideAttrs (old: {
|
||||
patches = old.patches or [ ] ++ [
|
||||
(pkgs.fetchpatch {
|
||||
url = "https://github.com/NixOS/nix/commit/b6ae3be9c6ec4e9de55479188e76fc330b2304dd.patch";
|
||||
|
|
@ -69,5 +73,5 @@ inputs':
|
|||
#
|
||||
reject-flake-config = true;
|
||||
};
|
||||
#_file
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue