{ config, lib, pkgs, ... }: let # Packages pretty-whois = with pkgs; writeShellScriptBin "pretty-whois" '' set -Eeuo pipefail ${whois}/bin/whois "$@" \ | ${ack}/bin/ack --color-match 'bold blue' --passthru '[-\w.!$%+=]+@[-\w.]+' ''; in { imports = [ ../../common/home.nix ./local/home.nix ]; # Nix home.stateVersion = "22.05"; # Permanent # TODO: Set nixpkgs.localSystem.platform.gcc # Host parameters host = { background = "file://${./resources/background.jpg}"; firefoxProfile = "f2y424q1.default"; local = ./local; }; # Unfree packages allowedUnfree = [ "teams" ]; # Applications home.packages = with pkgs; [ awscli2 chromium powershell pretty-whois qownnotes teams thunderbird tor-browser-bundle-bin ]; programs.zsh.shellAliases.w = "pretty-whois"; # File type associations xdg.mimeApps.defaultApplications = { "x-scheme-handler/mailto" = "thunderbird.desktop"; }; }