{ pkgs, ... }: let shellAliases = { ll = "ls -alh"; update-boot = "sudo nixos-rebuild boot --max-jobs 10 --build-host admin@10.0.1.18"; update-switch = "sudo nixos-rebuild switch --max-jobs 10 --build-host admin@10.0.1.18"; update-flake = "nix flake update desktop-nixpkgs desktop-chaotic desktop-home-manager desktop-impermanence desktop-lanzaboote desktop-nixos-hardware desktop-sops-nix desktop-steam-rom-manager --flake /etc/nixos"; update-nas = "nixos-rebuild switch --use-remote-sudo --target-host admin@10.0.1.18 --build-host admin@10.0.1.18 --flake ~/nix-config#jallen-nas"; nas-ssh = "kitten ssh admin@10.0.1.18"; ducks = "du -cksh * | sort -hr | head -n 15"; }; gitAliases = { co = "checkout"; ci = "commit"; cia = "commit --amend"; s = "status"; st = "status"; b = "branch"; p = "pull --rebase"; pu = "push"; }; in { home.username = "matt"; home.homeDirectory = "/home/matt"; home.stateVersion = "23.11"; sops = { age.keyFile = "/home/matt/.config/sops/age/keys.txt"; defaultSopsFile = "/etc/nixos/secrets/secrets.yaml"; validateSopsFiles = false; secrets = { "ssh-keys-public/pi4" = { path = "/home/matt/.ssh/id_ed25519.pub"; mode = "0644"; }; "ssh-keys-private/pi4" = { path = "/home/matt/.ssh/id_ed25519"; mode = "0600"; }; # "ssh-keys-public/desktop-nixos" = { # path = "/home/matt/.ssh/authorized_keys"; # mode = "0600"; # }; # "ssh-keys-public/desktop-nixos-root" = { # path = "/home/matt/.ssh/authorized_keys2"; # mode = "0600"; # }; # "ssh-keys-public/desktop-windows" = { # path = "/home/matt/.ssh/authorized_keys3"; # mode = "0600"; # }; # "ssh-keys-public/macbook-macos" = { # path = "/home/matt/.ssh/authorized_keys4"; # mode = "0600"; # }; }; }; programs = { fish.enable = false; mangohud.enable = true; java.enable = true; home-manager.enable = true; zsh = { enable = true; enableCompletion = true; autosuggestion.enable = true; syntaxHighlighting.enable = true; shellAliases = shellAliases; oh-my-zsh = { enable = true; plugins = [ "git" ]; theme = "fishy"; }; }; git = { enable = true; userName = "mjallen18"; userEmail = "matt.l.jallen@gmail.com"; aliases = gitAliases; }; }; home.packages = with pkgs; [ age btop fastfetch firefox home-manager lm_sensors mission-center sops tree vscode ]; }