mochi/nixos/profiles/global.nix

47 lines
928 B
Nix
Raw Normal View History

2024-12-27 03:25:38 -06:00
{
config,
lib,
pkgs,
...
}:
2025-01-28 19:36:00 -06:00
with lib; {
2024-06-20 08:59:56 -05:00
# 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.
2024-12-27 03:25:38 -06:00
imports = [
./global
];
2024-06-20 08:59:56 -05:00
config = {
boot.tmp.cleanOnBoot = true;
mySystem = {
# basics for all devices
2025-01-28 19:36:00 -06:00
editor = {
nvim.enable = true;
vim.enable = true;
};
2024-06-20 08:59:56 -05:00
time.timeZone = "America/Chicago";
security.increaseWheelLoginLimits = true;
2025-01-28 19:36:00 -06:00
system.packages = [pkgs.bat];
2024-06-20 08:59:56 -05:00
domain = "hsn.dev";
shell.fish.enable = true;
};
environment.systemPackages = with pkgs; [
curl
dnsutils
jq
nvme-cli
smartmontools
unstable.caddy
wget
yq-go
2024-06-20 08:59:56 -05:00
];
networking.domain = config.mySystem.domain;
};
}