flake: move overlays to flake outputs
This commit is contained in:
parent
60f58c5a9c
commit
ac5e184666
@ -7,8 +7,7 @@
|
||||
inputs.home.url = "github:nrdxp/home-manager/flakes";
|
||||
|
||||
outputs = { self, home, nixpkgs }: {
|
||||
nixosConfigurations =
|
||||
let
|
||||
nixosConfigurations = let
|
||||
configs = import ./hosts {
|
||||
inherit nixpkgs;
|
||||
flake = self;
|
||||
@ -17,6 +16,11 @@
|
||||
|
||||
in
|
||||
configs;
|
||||
|
||||
overlays = let
|
||||
pkgs = import ./pkgs;
|
||||
in
|
||||
[ pkgs ];
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -21,6 +21,8 @@ let
|
||||
"nixos-config=/etc/nixos/configuration.nix"
|
||||
];
|
||||
system.configurationRevision = flake.rev;
|
||||
|
||||
nixpkgs.overlays = flake.overlays;
|
||||
};
|
||||
|
||||
local = import "${toString ./.}/${self}.nix";
|
||||
|
@ -142,11 +142,6 @@ in
|
||||
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.overlays = let
|
||||
overlay = import ../pkgs;
|
||||
in
|
||||
[ overlay ];
|
||||
|
||||
|
||||
|
||||
programs.mtr.enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user