mochi/nixos/profiles/global.nix

46 lines
928 B
Nix

{
config,
lib,
pkgs,
...
}:
with lib; {
# NOTE
# Some 'global' areas have defaults set in their respective modules.
# These will be applied when the modules are loaded
# Not the global role.
# Not sure at this point a good way to manage globals in one place
# without mono-repo config.
imports = [
./global
];
config = {
boot.tmp.cleanOnBoot = true;
mySystem = {
# basics for all devices
editor = {
nvim.enable = true;
vim.enable = true;
};
time.timeZone = "America/Chicago";
security.increaseWheelLoginLimits = true;
system.packages = [pkgs.bat];
domain = "hsn.dev";
shell.fish.enable = true;
};
environment.systemPackages = with pkgs; [
curl
dnsutils
jq
nvme-cli
smartmontools
unstable.caddy
wget
yq-go
];
networking.domain = config.mySystem.domain;
};
}