{ lib, pkgs, namespace, ... }: let inherit (lib.${namespace}) enabled disabled; shellAliases = { update-switch = "darwin-rebuild switch --flake ~/nix-config"; update-flake = "nix flake update ~/nix-config"; ducks = "du -cksh * | sort -hr | head -n 15"; }; packages = with pkgs; [ age cpufetch deadnix iproute2mac nebula nixfmt nodejs_25 uv sops tree wget ]; in { # Home Manager needs a bit of information about you and the # paths it should manage. home = { username = "mattjallen"; homeDirectory = "/Users/mattjallen"; packages = lib.mkForce packages; sessionVariables = { NH_DARWIN_FLAKE = lib.mkForce "/Users/mattjallen/nix-config"; }; }; programs = { zsh = { shellAliases = shellAliases; }; }; # Manage bug in compilations - who uses manpages in 2024 anyways? :P manual.manpages = enabled; # Override defaults that arent supported programs = { mangohud = lib.mkForce disabled; nh = { flake = lib.mkForce "/Users/mattjallen/nix-config"; }; }; services = { pass-secret-service = lib.mkForce disabled; nextcloud-client = lib.mkForce disabled; kdeconnect = { enable = false; indicator = false; }; }; }