Working on reshuffling

This commit is contained in:
2026-03-19 07:44:27 +00:00
parent 81d2bb6532
commit c07948f93a
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -1989,10 +1989,11 @@ the top of the file."
** =generated/modules/apps/wofi.nix=
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
#+BEGIN_SRC nix :tangle generated/modules/apps/wofi.nix :noweb tangle :mkdirp yes :eval never-html
{ lib, config, flakeRoot, ... }:
{ lib, ... }:
let
wofiAssets = "${flakeRoot}/assets/system/conf/wofi";
# relative path from this module
wofiAssets = ./assets/system/conf/wofi;
wofiFiles = builtins.readDir wofiAssets;
wofiConfs = lib.genAttrs (builtins.attrNames wofiFiles) (name: {
src = "${wofiAssets}/${name}";
@@ -2002,7 +2003,6 @@ in
mySystem = {
apps.wofi = {
enable = true;
# symbolic references to files
configFile = wofiConfs."wofi.conf".src;
styleFile = wofiConfs."theming.css".src;
};
+3 -3
View File
@@ -1,7 +1,8 @@
{ lib, config, flakeRoot, ... }:
{ lib, ... }:
let
wofiAssets = "${flakeRoot}/assets/system/conf/wofi";
# relative path from this module
wofiAssets = ./assets/system/conf/wofi;
wofiFiles = builtins.readDir wofiAssets;
wofiConfs = lib.genAttrs (builtins.attrNames wofiFiles) (name: {
src = "${wofiAssets}/${name}";
@@ -11,7 +12,6 @@ in
mySystem = {
apps.wofi = {
enable = true;
# symbolic references to files
configFile = wofiConfs."wofi.conf".src;
styleFile = wofiConfs."theming.css".src;
};