mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-14 21:29:12 +02:00
feat: simplify flake-parts imports
This commit is contained in:
parent
3d3e8d450d
commit
ff8dd91aef
24 changed files with 77 additions and 79 deletions
11
flake/modules.nix
Normal file
11
flake/modules.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ self, ... }:
|
||||
{
|
||||
flake = _:
|
||||
let
|
||||
inherit (self.outputs) lib;
|
||||
in
|
||||
{
|
||||
nixosModules.default = import "${self}/modules/nixos" { inherit lib; };
|
||||
homeModules = import "${self}/modules/home" { inherit lib; };
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue