added lix + stable bigbox

This commit is contained in:
ari committed 2024-08-02 12:50:48 -04:00
1 parent d57c8c761c
commit 2e9254f4df
5 files changed
+124 -13

No files matched your search

+4 -1
View File
@@ -1,18 +1,20 @@
{ nixpkgs
, home-manager
, nix-darwin
, lix-module
}:
let
makeImports =
{ attrs
, home-manager-modules
, extraConfiguration ? [ ]
}: (if (isNull attrs.configuration) then [ ] else [ attrs.configuration ])
++ [
(import ./main.nix attrs)
] ++ (if attrs.home-manager.enable then
home-manager-modules
else
[ ]);
[ ]) ++ extraConfiguration;
in
{
makeNixOsModule =
@@ -25,6 +27,7 @@ in
modules = (makeImports {
attrs = attrs;
home-manager-modules = [ home-manager.nixosModules.default ];
extraConfiguration = [ lix-module.nixosModules.default ];
});
};
makeNixOsModuleMaker =