Rename xmonad/ to jade/ and restructure as a complete desktop environment with hybrid NixOS and home-manager modules. This establishes jade as a self-contained, gruvbox-themed DE that can eventually be extracted as a flake. Changes: - Create jade/ with NixOS module (WM, system packages, GTK theme) - Create jade/home.nix for home-manager services (wezterm, picom, dunst) - Move dmenu with gruvbox patches into jade/dmenu/ - Convert wezterm to pure Lua config with gruvbox-material colors - Move xinitrc into jade/ directory - Remove feh/scrot from global env (now in jade) - Remove dmenu overlay from global overlays - Simplify home-manager desktop features to just user apps This follows the pattern of real DEs (GNOME, KDE) where system and user configs are split across NixOS and home-manager modules.
36 lines
750 B
Nix
36 lines
750 B
Nix
{...}: {
|
|
imports = [
|
|
# Global configuartion for all our systems
|
|
../common/global
|
|
|
|
# Our user configuration and optional user units
|
|
../common/users/sajenim
|
|
../common/users/sajenim/steam
|
|
../common/users/sajenim/jade
|
|
|
|
# Optional components
|
|
../common/optional/yubikey.nix
|
|
|
|
# Services
|
|
./services
|
|
|
|
# Setup our hardware
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
# Networking configuration
|
|
networking = {
|
|
hostName = "fuchsia";
|
|
networkmanager.enable = true;
|
|
};
|
|
|
|
# Configure programs
|
|
programs = {
|
|
zsh.enable = true;
|
|
# Android debug bridge: communicate with devices
|
|
adb.enable = true;
|
|
};
|
|
|
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
|
system.stateVersion = "24.05";
|
|
}
|