Working on reshuffling
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
{ lib, ... }:
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
# relative path from this module
|
||||
wofiAssets = ../../../assets/system/conf/wofi;
|
||||
wofiFiles = builtins.readDir wofiAssets;
|
||||
wofiConfs = lib.genAttrs (builtins.attrNames wofiFiles) (name: {
|
||||
@@ -9,11 +8,10 @@ let
|
||||
});
|
||||
in
|
||||
{
|
||||
mySystem = {
|
||||
apps.wofi = {
|
||||
enable = true;
|
||||
configFile = wofiConfs."wofi.conf".src;
|
||||
styleFile = wofiConfs."theming.css".src;
|
||||
};
|
||||
# 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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user