{ inputs, outputs, lib, config, pkgs, ... }: { imports = [ inputs.home-manager.nixosModules.home-manager ## Semi-modularised config ./packages.nix # system-level packages here - needs tidying ./display.nix # declarations for display management ./gaming.nix # for gaming stuff, ideally would be in home/ ./audio.nix # sound go bwuuuaaaahhhhhhhh ../home/users # user-level packages here ]; ## Crikey ! time.timeZone = "Australia/Brisbane"; i18n.defaultLocale = "en_GB.UTF-8"; ## Genuinely dunno what these do hey, like isnt sudo ## already restricted to @wheel only? & wut is rtkit security = { polkit.enable = true; sudo.execWheelOnly = true; }; nix.settings = { ## Use all cores during build cores = 0; max-jobs = "auto"; allow-dirty = false; auto-optimise-store = true; download-buffer-size = [ "268435456" ]; allowed-users = [ "@wheel" ]; ## Enable flakes uwu gc = { ## Automatically run 'nix-collect-garbage' automatic = true; ## Ever day. dates = "daily"; ## and clear junk older than x days options = "--delete-older-than 2d"; ## No clue what this does lol. #persistent = true; }; experimental-features = [ "recursive-nix" "nix-command" "flakes" ]; }; ## Apparently prevents getting stuck at shutdown systemd.extraConfig = "DefaultTimeoutStopSec=10s"; ## Disable these cuz they cause problems (thx sasha) ## see: https://github.com/NixOS/nixpkgs/issues/180175 systemd.services = { networkManager-wait-online.enable = lib.mkForce false; systemd-networkd-wait-online.enable = lib.mkForce false; }; ## https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion system.stateVersion = "23.11"; }