26 lines
431 B
Nix
26 lines
431 B
Nix
{ lib, config, ... }:
|
|
|
|
let
|
|
cfg = config.mySystem.system.core;
|
|
in
|
|
{
|
|
options.mySystem.system.core.enable =
|
|
lib.mkEnableOption "Core System Settings";
|
|
|
|
imports = [
|
|
./locale.nix
|
|
./networking.nix
|
|
./services.nix
|
|
./users/user.nix
|
|
./homebase.nix
|
|
./nix.nix
|
|
./boot.nix
|
|
];
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
# alleen echt "core-specifieke" dingen hier
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
};
|
|
}
|