mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-09 03:56:04 +01:00
eww: fix eww source creation
Source can't be accessed without being defined, need to move condition earlier.
This commit is contained in:
parent
d303453b13
commit
15b59d4191
1 changed files with 2 additions and 1 deletions
|
|
@ -45,7 +45,8 @@ in {
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = [ cfg.package ];
|
home.packages = [ cfg.package ];
|
||||||
xdg.configFile."eww".source = mkIf (cfg.configDir != null) cfg.configDir;
|
xdg =
|
||||||
|
mkIf (cfg.configDir != null) { configFile."eww".source = cfg.configDir; };
|
||||||
|
|
||||||
programs.bash.initExtra = mkIf cfg.enableBashIntegration ''
|
programs.bash.initExtra = mkIf cfg.enableBashIntegration ''
|
||||||
if [[ $TERM != "dumb" ]]; then
|
if [[ $TERM != "dumb" ]]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue