features/apps/chromium/default.nix was deploying a 204-byte static
Default/Preferences via Home Manager symlink into Chromium's mutable
profile directory. The deployment is structurally broken — Chromium
expects to write that file at runtime, so either the symlink is
silently replaced on first save (losing the static defaults) or the
write fails silently.
The contents are also redundant + incorrect:
- `extensions.theme.{use_system,use_custom} = false` — already
superseded by the managed-policy approach (BrowserThemeColor
overrides any user-installed theme extension regardless).
- `browser.theme.{color_scheme,user_color} = 2` — hardcoded "dark"
via Chromium's color_scheme enum, conflicting with the dynamic
BrowserColorScheme = isLightTheme ? "light" : "dark" set by
core/system/browser.nix. A user on flexoki-light / summer-day /
catppuccin-latte / rose-pine / white would have had a static-vs-
policy mismatch every time.
Removed the entire features/apps/chromium/ directory (default.nix +
config/Default/Preferences) and dropped the import from
features/default.nix. Chromium theming continues to flow through the
system-level managed policy, which is the canonical chromium-on-NixOS
path.
`nix flake check --no-build` clean.
80 lines
1.9 KiB
Nix
80 lines
1.9 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;
|
|
|
|
home.packages = lib.mkDefault (with pkgs; [
|
|
# Core applications
|
|
firefox
|
|
xfce.thunar
|
|
|
|
# Media
|
|
imv # Image viewer
|
|
mpv # Video player
|
|
|
|
# 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-wayland
|
|
|
|
# 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
|
|
]);
|
|
}
|