Skip to content

Commit

Permalink
γ€ŒπŸ—‘οΈγ€ clean(lib): removed unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-koh committed Sep 18, 2024
1 parent c5c05f7 commit e518977
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions lib/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,5 @@
{
inputs,
config,
withSystem,
...
}:
{ ... }:
{
flake.lib = {
mkNixos = sys: extraModules:
inputs.nixpkgs.lib.nixosSystem {
specialArgs = withSystem sys ({ inputs', self', ... }:
{ inherit self' inputs' inputs; });
modules = [
inputs.nixpkgs.nixosModules.readOnlyPkgs
{ nixpkgs.pkgs = withSystem sys ({ pkgs, ... }: pkgs); }
] ++ extraModules;
};
mkHome = sys: modules:
withSystem sys ({ pkgs, self', inputs', ... }:
inputs.home-manager.lib.homeManagerConfiguration {
inherit pkgs modules;
extraSpecialArgs = {inherit self' inputs' inputs;};
});
};
}

0 comments on commit e518977

Please sign in to comment.