{ lib, config, pkgs, ... }: let # Copy the files into the Nix store wofiConf = builtins.readFile (toFile "wofi.conf" (builtins.readFile ./assets/hyprland/conf/wofi/wofi.conf)); wofiStyle = ./assets/hyprland/conf/wofi/theming.css; in { # Install Wofi environment.systemPackages = with pkgs; [ wofi ]; # Home Manager configuration for Wofi home-manager.users.henrov = { home.file = { ".config/wofi/config".text = wofiConf; ".config/wofi/style.css".source = wofiStyle; }; # Environment variables for Wofi home.sessionVariables = { WOFI_CONFIG = "$HOME/.config/wofi/config"; WOFI_STYLE = "$HOME/.config/wofi/style.css"; }; }; }