{ config, lib, pkgs, imports, 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 = [ (modulesPath + "/installer/scan/not-detected.nix") # Generated by nixos-config-generate ./global/nix.nix ./global/users.nix ./global/sops.nix ./global/nixpkgs.nix ./global/system.nix ]; mySystem = { # basics for all devices time.timeZone = "Australia/Melbourne"; security.increaseWheelLoginLimits = true; }; i18n = { defaultLocale = lib.mkDefault "en_AU.UTF-8"; }; # TODO refactor this shit out wow # SOPS settings # https://github.com/Mic92/sops-nix networking.useDHCP = lib.mkDefault true; environment.systemPackages = with pkgs; [ jq yq btop vim git dnsutils nix # TODO Move nil nixpkgs-fmt statix nvd gh ]; programs.direnv = { # TODO move to home-manager enable = true; nix-direnv.enable = true; }; programs.mtr.enable = true; }