working on wofi

This commit is contained in:
2026-03-11 15:06:27 +01:00
parent ef73ff7b19
commit 6e0ef11f68
@@ -5,18 +5,22 @@
...
}:
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
{
# Install Wofi
environment.systemPackages = with pkgs; [ wofi ];
environment.systemPackages = with pkgs; [
wofi
];
# Home Manager configuration for Wofi
home-manager.users.henrov = {
home.file = {
".config/wofi/config".text = builtins.readFile ./assets/hyprland/conf/wofi/wofi.conf;
".config/wofi/style.css".source = ./assets/hyprland/conf/wofi/theming.css;
".config/wofi/config".text = wofiConf;
".config/wofi/style.css".text = wofiStyle;
};
# Environment variables for Wofi
home.sessionVariables = {
WOFI_CONFIG = "$HOME/.config/wofi/config";
WOFI_STYLE = "$HOME/.config/wofi/style.css";