30 lines
610 B
Nix
30 lines
610 B
Nix
{
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
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
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
wofi
|
|
];
|
|
|
|
home-manager.users.henrov = {
|
|
home.file = {
|
|
".config/wofi/config".text = wofiConf;
|
|
".config/wofi/style.css".text = wofiStyle;
|
|
};
|
|
|
|
home.sessionVariables = {
|
|
WOFI_CONFIG = "$HOME/.config/wofi/config";
|
|
WOFI_STYLE = "$HOME/.config/wofi/style.css";
|
|
};
|
|
};
|
|
}
|