nixos-config/modules/nixos/submodules/basics/default.nix
2025-05-06 10:28:29 +02:00

42 lines
719 B
Nix

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