1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

fixed nixpath

This commit is contained in:
Stefan Ellmauthaler 2022-01-28 12:55:34 +01:00
parent 83031aace9
commit 0d5159cf24
Signed by: ellmau
GPG Key ID: C804A9C1B7AF8256
2 changed files with 5 additions and 3 deletions

View File

@ -47,8 +47,6 @@
dates = "weekly"; dates = "weekly";
options = "--delete-older-than 30d"; options = "--delete-older-than 30d";
}; };
nixPath = [ "nixpkgs=${pkgs}" ];
registry.nixpkgs.flake = pkgs;
}; };
nixpkgs = { nixpkgs = {
overlays = [ flakes.emacs-overlay.overlay flakeOutputs.overlay ] ++ extraOverlays; overlays = [ flakes.emacs-overlay.overlay flakeOutputs.overlay ] ++ extraOverlays;

View File

@ -21,7 +21,11 @@ let
inherit system; inherit system;
modules = [ modules = [
configuration configuration
{ nix.package = pkgs.legacyPackages.${system}.nixUnstable; } { nix = {
package = pkgs.legacyPackages.${system}.nixUnstable;
nixPath= [ "nixpkgs=${pkgs}" ];
registry.nixpkgs.flake = pkgs;}
;}
] ++ extraModules ] ++ extraModules
++ flakes.nixpkgs.lib.mapAttrsToList (_: module: module) ++ flakes.nixpkgs.lib.mapAttrsToList (_: module: module)
flakeOutputs.nixosModules; flakeOutputs.nixosModules;