nixos-config/modules/nixos/submodules/basics/default.nix
christoph.hollizeck 16770c5d67 bugs
2024-03-26 19:23:10 +01:00

43 lines
730 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 = with pkgs; [
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;
};
};
};
}