You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.4 KiB
Nix

3 months ago
{
inputs,
lib,
outputs,
self,
...
}@flakeArg:
let
importModule = path: { imports = lib.singleton path; };
in
{
default = self.withDepends;
3 months ago
# this one includes all of my modules
# - most of them only change things when enabled (e.g. x-banananetwork.*.enable)
# - others only introduce small, reasonable changes if other modules options are set, as reasonable defaults (if I intend to upstream them)
# however, use on your own discretion
banananetwork.imports = [
3 months ago
# directories
./extends
3 months ago
./frontend
./improvedDefaults
3 months ago
# files
./allCommon.nix
./autoUnfree.nix
./debugMinimal.nix
3 months ago
./graphics.nix
./hwCommon.nix
./kernel.nix
./options.nix
3 months ago
./privacy.nix
./secrix.nix
3 months ago
./sshSecurity.nix
./useable.nix
./vmCommon.nix
];
# this one defines common options for my systems to my modules
# you definitely do not want to use this
myOptions = importModule ../myOptions.nix;
# this one also includes required dependencies from flake inputs
withDepends =
{ config, pkgs, ... }:
{
imports = [
inputs.disko.nixosModules.disko
inputs.home-manager.nixosModules.home-manager
inputs.impermanence.nixosModules.impermanence
inputs.secrix.nixosModules.secrix
outputs.nixosModules.banananetwork
];
config = {
nixpkgs.overlays = lib.singleton outputs.overlays.backports;
};
};
3 months ago
}