working on wofi

This commit is contained in:
2026-03-11 15:03:34 +01:00
parent 177b7cc3b4
commit ef73ff7b19
@@ -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