Refactoring

This commit is contained in:
MFlossmann 2024-07-03 00:37:56 +02:00
parent fb335d75b3
commit 64fcff10aa
4 changed files with 60 additions and 23 deletions

View file

@ -25,7 +25,11 @@ in rec {
inherit inputs outputs helperLib;
};
modules = [
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-stable ]; })
({
config,
pkgs,
...
}: {nixpkgs.overlays = [overlay-stable];})
config
outputs.nixosModules.default
];
@ -38,7 +42,11 @@ in rec {
inherit inputs helperLib outputs;
};
modules = [
({ config, pkgs, ...}: { nixpkgs.overlays = [ overlay-stable ]; })
({
config,
pkgs,
...
}: {nixpkgs.overlays = [overlay-stable];})
config
outputs.homeManagerModules.default
];
@ -101,12 +109,13 @@ in rec {
modules;
# ============================ Shell ============================= #
forAllSystems = pkgs:
forAllSystems =
# pkgs:
inputs.nixpkgs.lib.genAttrs [
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
]
(system: pkgs inputs.nixpkgs.legacyPackages.${system});
];
# (system: pkgs inputs.nixpkgs.legacyPackages.${system});
}