laptop-config/home/wgu.nix
Scott Scoble f9f6ddc670 WGU prep: Windows VM setup, trackpad/trackpoint tweaks, aliases
- Add WGU Windows VM helper script + virtualization module (KVM/libvirt)
- Fix create-wgu-vn: mkdir before use, CPU topology, detect OS variant
- Add Webex, ZapZap, qalculate-gtk, libqalculate, tigervnc packages
- Add n97-mini VNC alias, switch nr to local flake path
- Tune trackpad (0.44) and TrackPoint (160/120) sensitivity
- Reduce mouse sensitivity to -0.2
- Move zapzap from desktop.nix alphabetically
- Remove OVMFFull from virtualisation (handled by swtpm/OVMF default)
- Bump flake inputs (home-manager, nixos-hardware, nixpkgs, pi-mono)
2026-06-04 11:44:32 -07:00

61 lines
1.5 KiB
Nix

{ config, pkgs, ... }:
{
# === WGU / Academic software ===
home.packages = with pkgs; [
# Reference manager
zotero
# Browsers
brave
# Note-taking
obsidian
# Code editor
vscode
# Document preparation
typst
tinymist # LSP (tinymist binary speaks typst-lsp protocol)
pandoc
# Precalculus calculator (GUI + CLI: `qalculate-gtk` for graphs, `qalc` in terminal)
qalculate-gtk
libqalculate # provides the `qalc` CLI binary
# Password manager (LastPass has no Linux native client — use Bitwarden)
bitwarden-desktop
bitwarden-cli
];
# === VS Code config (Typst LSP) ===
home.file.".config/Code/User/settings.json".text = builtins.toJSON {
"typst-lsp.serverPath" = "${pkgs.tinymist}/bin/tinymist";
"editor.fontFamily" = "JetBrainsMono Nerd Font";
"editor.fontSize" = 14;
"workbench.colorTheme" = "Catppuccin Mocha";
};
# === Neovim LSP for Typst ===
# Tinymist binary speaks the typst-lsp protocol — plug into nvim-lspconfig
home.file.".config/nvim/lua/lsp/typst.lua".text = ''
return {
cmd = { "${pkgs.tinymist}/bin/tinymist" },
filetypes = { "typst" },
root_markers = { ".git", "flake.nix" },
single_file_support = true,
settings = {
exportPdf = "onSave",
outputPath = "$root/out/$name.pdf",
},
}
'';
# === Windows VM helper (WGU Guardian browser for proctored tests) ===
home.file.".local/bin/create-wgu-vm" = {
force = true;
executable = true;
source = ./scripts/create-wgu-vm;
};
}