working on wofi

This commit is contained in:
2026-03-11 15:02:13 +01:00
parent 2186bda854
commit 177b7cc3b4
3 changed files with 360 additions and 364 deletions
@@ -1,21 +1,19 @@
{
lib,
config,
pkgs,
flakeRoot,
...
}:
{ 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 = {
# Manage only the config and style files
home.file = {
".config/wofi/config".text = lib.readFile "${flakeRoot}/.assets/hyprland/conf/wofi/wofi.conf";
".config/wofi/style.css".source = "${flakeRoot}/.assets/hyprland/conf/wofi/theming.css";
".config/wofi/config".text = wofiConf;
".config/wofi/style.css".source = wofiStyle;
};
# Environment variables for Wofi