Working on reshuffling
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{ lib, config, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
wofiAssets = "${flakeRoot}/assets/system/conf/wofi";
|
||||
wofiFiles = builtins.readDir wofiAssets;
|
||||
wofiConfs = lib.genAttrs (builtins.attrNames wofiFiles) (name: {
|
||||
src = "${wofiAssets}/${name}";
|
||||
});
|
||||
in
|
||||
{
|
||||
mySystem = {
|
||||
apps.wofi = {
|
||||
enable = true;
|
||||
# symbolic references to files
|
||||
configFile = wofiConfs."wofi.conf".src;
|
||||
styleFile = wofiConfs."theming.css".src;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user