Remove Vicinae input and virtualization module

Add pnpm and lazydocker to system packages and normalize Node/Bun
entries. Expand filesystem options into multi-line arrays, remove an
extra groups comment, update flake.lock (noctalia ref), and tidy README
newline/formatting.
This commit is contained in:
Melvin Ragusa
2026-02-04 08:18:48 +01:00
parent 0ce9739776
commit f017b45840
9 changed files with 33 additions and 158 deletions

View File

@@ -44,9 +44,6 @@
# DESKTOP PACKAGES
# ═══════════════════════════════════════════════════════════════
environment.systemPackages = with pkgs; [
# Vicinae launcher
inputs.vicinae.packages.${pkgs.system}.default
# Polkit agent
polkit_gnome

View File

@@ -38,16 +38,17 @@
# ═══════════════════════════════════════════════════════════════
# DEVELOPMENT PACKAGES
# ═══════════════════════════════════════════════════════════════
# NOTE: GUI tools (dbeaver) and optional TUIs (lazygit, lazydocker) are in `nix profile`
environment.systemPackages = with pkgs; [
# ─── Containers ───
docker-compose # Docker Compose v2
lazydocker
# ─── Languages & Runtimes ───
nodejs_22 # Node.js LTS (for Vicinae extensions, etc.)
bun # Fast JavaScript runtime/bundler
python3 # Python 3
rustup # Rust toolchain manager
bun
pnpm
nodejs
python3
rustup
# ─── Build Tools ───
gcc
@@ -57,13 +58,13 @@
# ─── Version Control ───
git
gh # GitHub CLI
delta # Better git diff
lazygit # Git UI
gh
delta
lazygit
# ─── Editors & LSP ───
# nil already in base config (Nix LSP)
nixfmt # Nix formatter
nil
nixfmt
# ─── CLI Utilities ───
jq # JSON processor
@@ -73,7 +74,7 @@
fzf # Fuzzy finder
eza # Modern ls
bat # Cat with syntax highlighting
broot
broot # TUI Folder Tree
# Additional CLI tools
tealdeer # tldr - simplified man pages
@@ -82,7 +83,4 @@
pv # Pipe viewer (progress bar for pipes)
parallel # GNU parallel (run commands in parallel)
];
# Note: Shell aliases are now managed in shell.nix (Fish shell)
# Zsh is kept as a fallback shell but Fish is the primary
}

View File

@@ -1,62 +0,0 @@
# modules/virtualization.nix
# Virtual machine support: QEMU, KVM, libvirt, virt-manager
{
config,
pkgs,
lib,
username,
...
}:
{
# ═══════════════════════════════════════════════════════════════
# LIBVIRT & QEMU
# ═══════════════════════════════════════════════════════════════
virtualisation.libvirtd = {
enable = true;
# QEMU configuration
qemu = {
package = pkgs.qemu_kvm;
# Enable TPM emulation for Windows 11
swtpm.enable = true;
# Run QEMU as non-root for better security
runAsRoot = false;
};
};
# ═══════════════════════════════════════════════════════════════
# SPICE SUPPORT (for better VM display/clipboard/USB)
# ═══════════════════════════════════════════════════════════════
virtualisation.spiceUSBRedirection.enable = true;
# ═══════════════════════════════════════════════════════════════
# NETWORKING FOR VMS
# ═══════════════════════════════════════════════════════════════
# Enable default NAT network (virbr0)
networking.firewall.trustedInterfaces = [ "virbr0" ];
# ═══════════════════════════════════════════════════════════════
# PACKAGES
# ═══════════════════════════════════════════════════════════════
environment.systemPackages = with pkgs; [
virt-manager # GUI for managing VMs
virt-viewer # Viewer for VM displays (SPICE/VNC)
virtiofsd # Fast file sharing between host and VM
qemu-utils # QEMU utilities (qemu-img, etc.)
spice-gtk # SPICE client libraries
];
# ═══════════════════════════════════════════════════════════════
# USER PERMISSIONS
# ═══════════════════════════════════════════════════════════════
users.users.${username}.extraGroups = [ "libvirtd" ];
# ═══════════════════════════════════════════════════════════════
# DCONF SETTINGS FOR VIRT-MANAGER
# ═══════════════════════════════════════════════════════════════
# Auto-connect to the system QEMU/KVM
programs.virt-manager.enable = true;
}