Update flake inputs and flake.lock to Nix/nixpkgs and home-manager release 25.11; bump home.stateVersion and setup script NIXOS_RELEASE. Migrate git config to new Home Manager layout (programs.git.settings, aliases under settings.alias), adjust delta config path, and reorganize SSH into matchBlocks with enableDefaultConfig=false to avoid global leaks. Simplify snapd session variable handling to avoid recursion. Misc: tweak Dashy title, replace du-dust->dust and plex-media-player -> plex-desktop, remove unused hostname arg, and add GitHub Copilot instructions document.
67 lines
1.7 KiB
Nix
67 lines
1.7 KiB
Nix
{ pkgs, ... }:
|
|
let
|
|
# Create a script to fix electron apps
|
|
fix-electron-apps = pkgs.writeScriptBin "fix-electron-apps" (
|
|
builtins.readFile ./fix-electron-apps.sh
|
|
);
|
|
in
|
|
{
|
|
home.packages = with pkgs; [
|
|
# Custom scripts
|
|
fix-electron-apps
|
|
|
|
# GUI Application
|
|
## Utilities
|
|
tea # A Gitea official CLI client
|
|
pinta # Paint.NET alternative
|
|
smile # Emoji picker
|
|
deja-dup # Backup tool
|
|
sqlitebrowser # SQLite database manager
|
|
gparted # Used to nuke Windows off of my system
|
|
# rpi-imager # Raspberry Pi OS image writer (Temporarily removed due to issues)
|
|
pavucontrol # PulseAudio volume control
|
|
qrencode # qr code generator
|
|
grimblast # Screenshot tool
|
|
gpredict # Satellite tracking
|
|
scrcpy
|
|
|
|
## Multimedia
|
|
plex-desktop
|
|
vlc
|
|
|
|
## Astronomy
|
|
stellarium
|
|
|
|
## Games
|
|
### Open-source games
|
|
openra
|
|
mindustry
|
|
|
|
### Game utilities
|
|
protonup-qt
|
|
protontricks
|
|
|
|
### Virtualization
|
|
virt-manager
|
|
virt-viewer
|
|
];
|
|
|
|
# Fix for all Electron apps' chrome-sandbox
|
|
home.activation.fixElectronChromeSandbox = ''
|
|
echo ""
|
|
echo "=============================================="
|
|
echo "IMPORTANT: Electron Applications Notice"
|
|
echo "=============================================="
|
|
echo "Some Electron applications (like Vesktop) may need"
|
|
echo "special permissions to run correctly."
|
|
echo ""
|
|
echo "If you encounter issues with Electron apps, run:"
|
|
echo " fix-electron-apps"
|
|
echo ""
|
|
echo "This command will properly set permissions on all"
|
|
echo "Electron sandbox files in your system."
|
|
echo "=============================================="
|
|
echo ""
|
|
'';
|
|
}
|