diff --git a/Droidnix/generated/hyprland/task_launcher/wofi.nix b/Droidnix/generated/hyprland/task_launcher/wofi.nix index 73a8fa403..13464b46c 100644 --- a/Droidnix/generated/hyprland/task_launcher/wofi.nix +++ b/Droidnix/generated/hyprland/task_launcher/wofi.nix @@ -1,10 +1,10 @@ -{ lib, config, pkgs, ... }: +{ + 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 ]; @@ -12,8 +12,8 @@ in # Home Manager configuration for Wofi home-manager.users.henrov = { home.file = { - ".config/wofi/config".text = wofiConf; - ".config/wofi/style.css".source = wofiStyle; + ".config/wofi/config".text = builtins.readFile ./assets/hyprland/conf/wofi/wofi.conf; + ".config/wofi/style.css".source = ./assets/hyprland/conf/wofi/theming.css; }; # Environment variables for Wofi