Files
Nomarchy/features/default.nix
Bernardo Magri 8911ffa4e8
Some checks failed
Check / eval-and-lint (push) Failing after 6m22s
feat(calendar): ship calcurse and wire waybar clock clicks
2026-05-31 16:43:47 +01:00

79 lines
2.2 KiB
Nix

{ config, pkgs, inputs, lib, ... }:
let
nomarchyLib = import ../lib { inherit lib; };
in
{
imports = [
inputs.nix-colors.homeManagerModules.default
inputs.walker.homeManagerModules.default
../core/home
../themes/engine/stylix-compat.nix
../themes/engine/loader.nix
../themes/engine/files.nix
../themes/engine/scripts.nix
../themes/engine/stylix.nix
./apps/alacritty/default.nix
./apps/btop/default.nix
./apps/elephant/default.nix
./apps/ghostty/default.nix
./apps/kitty/default.nix
./apps/lazygit/default.nix
./apps/opencode/default.nix
./apps/tmux/default.nix
./apps/vscode.nix
./apps/walker.nix
./apps/swayosd.nix
./desktop/nightlight.nix
./desktop/idle.nix
./desktop/hyprland/default.nix
./desktop/waybar/default.nix
./scripts/default.nix
./scripts/battery-monitor.nix
];
colorScheme = lib.mkDefault (nomarchyLib.getColorScheme config.nomarchy.theme);
# Enable neovim program module (required for stylix integration)
programs.neovim.enable = lib.mkDefault true;
# NOT mkDefault: home.packages is a list that MERGES across modules. At
# mkDefault priority this whole curated list is dropped the moment any
# other module sets home.packages at normal priority (features/scripts,
# the installer's profile packages), silently removing firefox, mako,
# hyprlock, mpv, etc. — which broke notifications and the lock screen.
home.packages = (with pkgs; [
# Hyprland ecosystem
swww # Wallpaper daemon
mako # Notification daemon
hyprlock # Lock screen
# Screenshot and clipboard
wl-clipboard
grim
slurp
# Hardware control
brightnessctl
playerctl
pamixer
# Utilities
jq
xmlstarlet
mise
gum # TUI components for scripts
xdg-terminal-exec
swaybg
rofi # rofi-wayland was merged into rofi upstream
calcurse # TUI calendar
# Theming — cursor package stays here; icon theme packages are pulled in
# dynamically by themes/engine/stylix.nix via nomarchyLib.iconThemePackage
# so switching to e.g. summer-night auto-installs everforest-gtk-theme.
bibata-cursors
]);
}