mochi/nixos/profiles/global.nix

48 lines
898 B
Nix
Raw Permalink Normal View History

2024-12-27 03:25:38 -06:00
{
config,
lib,
pkgs,
modulesPath,
...
}:
2024-06-20 08:59:56 -05:00
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.
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
2024-07-29 12:53:31 -05:00
editor.vim.enable = true;
2024-06-20 08:59:56 -05:00
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
2024-06-20 08:59:56 -05:00
];
networking.domain = config.mySystem.domain;
};
}