{ lib, 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 = "sudo nix flake update ~/nix-config"; 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/desktop-nixos" = { path = "/home/matt/.ssh/id_ed25519.pub"; mode = "0644"; }; "ssh-keys-private/desktop-nixos" = { path = "/home/matt/.ssh/id_ed25519"; 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"; }; }; librewolf = { enable = true; settings = { "identity.fxaccounts.enabled" = true; # Enable Firefox Accounts "privacy.clearOnShutdown.history" = false; # Disable clearing history on shutdown "privacy.clearOnShutdown.downloads" = false; # Disable clearing downloads on shutdown "privacy.clearOnShutdown.cache" = false; # Disable clearing cache on shutdown "privacy.clearOnShutdown.cookiesAndStorage" = false; # Disable clearing cookies and storage on shutdown "privacy.clearOnShutdown.cookies" = false; # Disable clearing cookies on shutdown "privacy.clearOnShutdown_v2.cache" = false; # Disable clearing cache on shutdown "privacy.clearOnShutdown_v2.cookiesAndStorage" = false; # Disable clearing cookies and storage on shutdown "privacy.clearOnShutdown.formdata" = false; # Disable clearing form data on shutdown "privacy.clearOnShutdown.offlineApps" = false; # Disable clearing offline apps on shutdown "privacy.clearHistory.cache" = false; # Disable clearing cache on history clear "privacy.clearHistory.cookiesAndStorage" = false; # Disable clearing cookies on history clear "privacy.clearHistory.historyFormDataAndDownloads" = false; # Disable clearing history, form data, and downloads on history clear "privacy.clearHistory.browsingHistoryAndDownloads" = false; # Disable clearing browsing history and downloads on history clear "privacy.clearSiteData.cache" = false; # Disable clearing cache on site data clear "privacy.clearSiteData.cookiesAndStorage" = false; # Disable clearing cookies on site data clear "services.sync.prefs.sync.privacy.clearOnShutdown.cache" = true; # Enable syncing cache clear on shutdown "services.sync.prefs.sync.privacy.clearOnShutdown.cookies" = true; # Enable syncing cookies clear on shutdown "services.sync.prefs.sync.privacy.clearOnShutdown.downloads" = true; # Enable syncing downloads clear on shutdown "services.sync.prefs.sync.privacy.clearOnShutdown.formdata" = true; # Enable syncing form data clear on shutdown "services.sync.prefs.sync.privacy.clearOnShutdown.history" = true; # Enable syncing history clear on shutdown "services.sync.prefs.sync.privacy.clearOnShutdown.offlineApps" = true; # Enable syncing offline apps clear on shutdown "services.sync.prefs.sync.privacy.clearOnShutdown.sessions" = true; # Enable syncing sessions clear on shutdown "services.sync.prefs.sync.privacy.clearOnShutdown.siteSettings" = true; # Enable syncing site settings clear on shutdown "services.sync.prefs.sync.privacy.clearOnShutdown_v2.cache" = true; # Enable syncing cache clear on shutdown "services.sync.prefs.sync.privacy.clearOnShutdown_v2.cookiesAndStorage" = true; # Enable syncing cookies clear on shutdown "services.sync.prefs.sync.privacy.clearOnShutdown_v2.downloads" = true; # Enable syncing downloads clear on shutdown "services.sync.prefs.sync.privacy.clearOnShutdown_v2.historyFormDataAndDownloads" = true; # Enable syncing form data clear on shutdown "services.sync.prefs.sync.privacy.clearOnShutdown_v2.siteSettings" = true; # Enable syncing site settings clear on shutdown "browser.newtabpage.activity-stream.feeds.topsites" = true; # Enable top sites on new tab page "browser.newtabpage.activity-stream.topSitesRows" = 3; # Set number of rows for top sites on new tab page }; }; git = { enable = true; userName = "mjallen18"; userEmail = "matt.l.jallen@gmail.com"; aliases = gitAliases; }; steam-rom-manager = { enable = true; steamUsername = "matt"; environmentVariables = { romsDirectory = "/home/matt/Games/roms"; steamDirectory = "/home/matt/.local/share/Steam"; }; emulators = { ryujinx = { enable = true; }; pcsx2 = { enable = true; }; "Non-SRM Shortcuts" = { enable = true; parserType = "Non-SRM Shortcuts"; extraArgs = ""; }; # Add other emulators as needed }; }; }; home.packages = with pkgs; [ age apple-cursor bottles chromium colloid-icon-theme colloid-gtk-theme unstable.compose2nix coolercontrol.coolercontrol-gui deadnix discord fastfetch firefox freerdp gamescope gamescope-wsi gnome-tweaks gnomeExtensions.appindicator gnomeExtensions.arcmenu gnomeExtensions.dash-to-dock gnomeExtensions.dash-to-panel gnomeExtensions.tiling-assistant google-chrome goverlay heroic home-manager jq libreoffice-qt6-fresh lm_sensors lutris mangohud morph nextcloud-client nixfmt-rfc-style orca-slicer papirus-icon-theme piper pop-gtk-theme prismlauncher protonup protontricks protonvpn-gui protonvpn-gui python3 python312Packages.tox python312Packages.setuptools python312Packages.pytest python312Packages.pytest-cov python312Packages.pyaml qmk remmina smile sops spotify ssh-to-pgp tree unigine-heaven vesktop via virt-manager vmware-horizon-client vorta vscode ]; dconf = { enable = true; settings = { "org/gnome/desktop/interface".clock-format = "12h"; "org/gnome/desktop/interface".color-scheme = "prefer-dark"; "org/gnome/desktop/interface".cursor-theme = lib.mkDefault "macOS"; "org/gnome/desktop/interface".enable-hot-corners = false; "org/gnome/desktop/interface".font-antialiasing = "grayscale"; "org/gnome/desktop/interface".font-hinting = "slight"; "org/gnome/desktop/interface".gtk-theme = lib.mkDefault "Colloid-Dark"; "org/gnome/desktop/interface".icon-theme = lib.mkDefault "Colloid-Dark"; "org/gnome/desktop/peripherals/mouse".accel-profile = "flat"; "org/gnome/desktop/peripherals/touchpad".two-finger-scrolling-enabled = true; "org/gnome/desktop/peripherals/touchpad".tap-to-click = true; "org/gnome/mutter".experimental-features = [ "scale-monitor-framebuffer" "variable-refresh-rate" ]; "org/gnome/tweaks".show-extensions-notice = false; "org/gnome/shell".enabled-extensions = [ "appindicatorsupport@rgcjonas.gmail.com" "user-theme@gnome-shell-extensions.gcampax.github.com" "tiling-assistant@leleat-on-github" "dash-to-dock@micxgx.gmail.com" ]; "org/gnome/shell/extensions/dash-to-panel".primary-monitor = 1; "org/gnome/shell/extensions/dash-to-panel".multi-monitors = false; "org/gnome/shell/extensions/user-theme".name = lib.mkDefault "Colloid-Dark"; "org/gtk/settings/file-chooser".clock-format = "12h"; }; }; }