mochi/nixos/profiles/global.nix
Joseph Hanson d3613a4ec4
All checks were successful
Build / nix-build (native-x86_64, gandalf) (push) Successful in 5m3s
Build / nix-build (native-x86_64, shadowfax) (push) Successful in 5m43s
Build / nix-build (native-x86_64, telperion) (push) Successful in 2m9s
restic backup overhaul
2024-12-27 03:25:38 -06:00

47 lines
922 B
Nix

{
config,
lib,
pkgs,
modulesPath,
...
}:
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.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
wget
dnsutils
jq
yq-go
nvme-cli
smartmontools
];
networking.useDHCP = lib.mkDefault true;
networking.domain = config.mySystem.domain;
};
}