nixos-config/modules/nixos/submodules/basics/default.nix
christoph.hollizeck db30ab1fa9 to be continued
2024-03-22 18:18:58 +01:00

45 lines
730 B
Nix

{
options,
config,
lib,
pkgs,
...
}:
with lib;
with lib.wyrdgard; let
cfg = config.wyrdgard.suites.common;
in {
options.wyrdgard.submodules.basics = with types; {
enable = mkBoolOpt false "Whether or not to enable basic configuration.";
};
config = mkIf cfg.enable {
environment.systemPackages = [
];
wyrdgard = {
nix = enabled;
tools = {
git = enabled;
nix-ld = enabled;
};
system.hardware = {
audio = enabled;
bluetooth = enabled;
networking = enabled;
};
system = {
boot = enabled;
fonts = enabled;
locale = enabled;
time = enabled;
xkb = enabled;
};
};
};
}