28 lines
642 B
Nix
28 lines
642 B
Nix
{
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
flakeRoot,
|
|
...
|
|
}:
|
|
|
|
{
|
|
# Install Wofi
|
|
environment.systemPackages = with pkgs; [ wofi ];
|
|
|
|
# Home Manager configuration for Wofi
|
|
home-manager.users.henrov = {
|
|
# Manage only the config and style files
|
|
home.file = {
|
|
".config/wofi/config".text = lib.readFile "${flakeRoot}/.assets/hyprland/conf/wofi/wofi.conf";
|
|
".config/wofi/style.css".source = "${flakeRoot}/.assets/hyprland/conf/wofi/theming.css";
|
|
};
|
|
|
|
# Environment variables for Wofi
|
|
home.sessionVariables = {
|
|
WOFI_CONFIG = "$HOME/.config/wofi/config";
|
|
WOFI_STYLE = "$HOME/.config/wofi/style.css";
|
|
};
|
|
};
|
|
}
|