feat: init

This commit is contained in:
Nick 2024-10-06 15:25:05 -05:00
commit c19ea940bd
320 changed files with 23845 additions and 0 deletions

29
lib/default.nix Executable file
View file

@ -0,0 +1,29 @@
{
config,
inputs,
self,
...
}: {
flake.lib = {
mkHome = modules: system:
inputs.home-manager.lib.homeManagerConfiguration {
pkgs = import inputs.nixpkgs {
inherit system;
config.allowUnfree = true;
};
extraSpecialArgs = {
inherit inputs;
};
inherit modules;
};
mkLinuxSystem = modules:
inputs.nixpkgs.lib.nixosSystem {
specialArgs = {
flake = {
inherit config inputs self;
};
};
inherit modules;
};
};
}