18 lines
446 B
Nix
18 lines
446 B
Nix
{ lib, pkgs, ... }:
|
|
|
|
let
|
|
wofiAssets = ../../../assets/system/conf/wofi;
|
|
wofiFiles = builtins.readDir wofiAssets;
|
|
wofiConfs = lib.genAttrs (builtins.attrNames wofiFiles) (name: {
|
|
src = "${wofiAssets}/${name}";
|
|
});
|
|
in
|
|
{
|
|
# If using Home Manager
|
|
home-manager.users.henrov = {
|
|
programs.wofi.enable = true;
|
|
programs.wofi.configFile = wofiConfs."wofi.conf".src;
|
|
programs.wofi.styleFile = wofiConfs."theming.css".src;
|
|
};
|
|
}
|