Files
nixos/Droidnix/generated/hyprland/task_launcher/wofi.nix
T
2026-03-11 15:06:27 +01:00

30 lines
610 B
Nix

{
lib,
config,
pkgs,
...
}:
let
# Read the files from the local directory
wofiConf = builtins.readFile (toString ./assets/hyprland/conf/wofi/wofi.conf);
wofiStyle = builtins.readFile (toString ./assets/hyprland/conf/wofi/theming.css);
in
{
environment.systemPackages = with pkgs; [
wofi
];
home-manager.users.henrov = {
home.file = {
".config/wofi/config".text = wofiConf;
".config/wofi/style.css".text = wofiStyle;
};
home.sessionVariables = {
WOFI_CONFIG = "$HOME/.config/wofi/config";
WOFI_STYLE = "$HOME/.config/wofi/style.css";
};
};
}