mirror of
https://github.com/Nexoniarz/nexoniarz-config-nixos-laptop.git
synced 2026-11-03 04:24:27 +00:00
Configures Pantheon (LightDM + gala) for daily use on this ASUS TUF Gaming A15 (FA507NU), and drops everything that only existed to serve the previous Hyprland/Quickshell setup: - desktop.nix: services.desktopManager.pantheon instead of programs.hyprland + greetd; comfy laptop touchpad defaults. - drivers.nix: NVIDIA PRIME render offload between the AMD Radeon 680M (drives the panel) and the RTX 4050 Max-Q (offload-only), using this machine's real PCI bus IDs; asusd/supergfxd for ASUS-specific laptop control. - apps.nix / scripts.nix: removed Hyprland/Quickshell-only packages and scripts (kitty, rofi, quickshell, mako, hyprlock, hyprpaper/mpvpaper, the Quickshell theme-picker scripts, cursor/wallpaper/display helpers) — Pantheon ships its own Files/Terminal/Screenshot/ notifications/theming natively. Kept the DE-agnostic scripts (vault toggle, metadata stripping, brightness control, Wi-Fi hotspot, telemetry, weather). - theme.nix and default-apps.nix deleted entirely — Pantheon owns GTK/icon theming itself, no more live dconf/CSS generation pipeline needed. - Deleted hyprland/ and dotfiles/ (kitty, mako, quickshell, rofi). Verified with `nixos-rebuild build`. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RpiovBQL6k5MTDMN3Ln9nL
37 lines
1.3 KiB
Markdown
37 lines
1.3 KiB
Markdown
# nexoniarz-config-nixos-laptop
|
|
|
|
My personal NixOS system configuration tailored for daily use on an
|
|
**ASUS TUF Gaming A15 (FA507NU)**.
|
|
|
|
## Overview
|
|
|
|
- **OS:** NixOS
|
|
- **DE / Compositor:** Pantheon (gala, Wayland)
|
|
- **Display manager:** LightDM (elementary greeter)
|
|
- **Shell:** Zsh
|
|
- **CPU:** AMD Ryzen 5 7535HS
|
|
- **GPU:** AMD Radeon 680M (iGPU, drives the internal panel) + NVIDIA RTX
|
|
4050 Max-Q (dGPU, PRIME render offload only — run anything through it with
|
|
`nvidia-offload <command>`)
|
|
- **Laptop control:** `asusctl` (fan curves, keyboard backlight, battery
|
|
charge limit) + `supergfxctl` (dGPU power-state switching)
|
|
|
|
## Layout
|
|
|
|
- `configuration.nix` — top-level imports
|
|
- `hardware-configuration.nix` — generated by `nixos-generate-config`, don't
|
|
hand-edit
|
|
- `modules/system.nix` — bootloader, networking, time, sound, hardening,
|
|
nix-ld
|
|
- `modules/drivers.nix` — hybrid graphics (NVIDIA PRIME offload), ASUS
|
|
daemons, misc hardware (webcam loopback, tablet driver)
|
|
- `modules/desktop.nix` — Pantheon desktop environment
|
|
- `modules/users.nix` — user account, Steam, Firefox, Flatpak
|
|
- `modules/apps.nix` — all installed packages
|
|
- `modules/scripts.nix` + `modules/scripts/` — small custom CLI helpers
|
|
(encrypted vault toggle, metadata stripping, brightness control, Wi-Fi
|
|
hotspot, system telemetry, weather fetch)
|
|
|
|
---
|
|
|
|
*Made by **Nexoniarz***
|