Files
nixos/Droidnix/generated/modules/traveldroid/apps/wofi.nix
T
2026-03-27 15:29:48 +00:00

25 lines
506 B
Nix

{ lib, config, pkgs, flakeRoot, ... }:
let
username = config.defaultUser or "henrov";
assetPath = "${flakeRoot}/generated/.config/wofi";
in
{
environment.systemPackages = [ pkgs.wofi ];
home-manager.users = {
${username} = {
home.file = {
".config/wofi/config" = {
text = "${assetPath}/config";
force = true;
};
".config/wofi/style.css" = {
text = "${assetPath}/style.css";
force = true;
};
};
};
};
}