1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +00:00

Use recursive update instead of //

This commit is contained in:
RGBCube 2023-05-24 20:23:33 +03:00
parent c09259d4c7
commit 7360237ab8
No known key found for this signature in database
9 changed files with 38 additions and 59 deletions

View file

@ -40,7 +40,9 @@
hostPlatform = import (configurationDirectory + "/platform.nix");
in {
nixosConfigurations.${hostName} = nixosSystem {
lib = nixpkgs.lib;
lib = nixpkgs.lib // {
recursiveUpdate3 = x: y: z: nixpkgs.lib.recursiveUpdate x (nixpkgs.lib.recursiveUpdate y z);
};
pkgs = import nixpkgs {
system = hostPlatform;