configuration.nix/flake-modules/default.nix
Jalil David Salamé Messina e03cd65e87
All checks were successful
/ check (push) Successful in 20s
/ build (audiomenu) (push) Successful in 2s
/ build (docs) (push) Successful in 2s
/ build (jpassmenu) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 2s
/ build (nvim) (push) Successful in 1s
feat: use flake-parts to clean up the flake.nix
This is much more manageable!
2024-10-04 23:50:12 +02:00

25 lines
470 B
Nix

{ inputs, ... }:
let
overlays = builtins.attrValues inputs.self.overlays;
in
{
imports = [
./checks.nix
./devshells.nix
./docs.nix
./example-vm.nix
./nixos-modules.nix
./nvim.nix
./overlays.nix
./scripts.nix
];
perSystem =
{ system, pkgs, ... }:
{
_module.args.pkgs = import inputs.nixpkgs { inherit system overlays; };
# Nix files formatter (run `nix fmt`)
formatter = pkgs.nixfmt-rfc-style;
};
}