28 lines
666 B
Nix
28 lines
666 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
user,
|
|
flakeRoot,
|
|
...
|
|
}:
|
|
let
|
|
xdgDataHome = config.home-manager.users.${user.username}.xdg.dataHome;
|
|
in
|
|
{
|
|
# NixOS: Install Wofi system-wide (optional)
|
|
environment.systemPackages = with pkgs; [ wofi ];
|
|
|
|
# Home Manager: User-specific Wofi config
|
|
home-manager.users.${user.username} = {
|
|
# Install Wofi for the user
|
|
home.packages = with pkgs; [ wofi ];
|
|
|
|
# Wofi configuration
|
|
xdg.configFile."wofi/config".source = "${flakeRoot}/assets/system/conf/wofi/wofi.conf";
|
|
|
|
# Custom Catppuccin Mocha theme for Wofi
|
|
xdg.configFile."wofi/style.css".source = "${flakeRoot}/assets/system/conf/wofi/theming.css";
|
|
};
|
|
}
|