fix spotify

This commit is contained in:
zackartz 2024-05-23 20:48:19 +00:00
parent 769d4b0df5
commit 85521a1666
No known key found for this signature in database
GPG key ID: 5B53E53A9A514DBA
14 changed files with 223 additions and 262 deletions

View file

@ -0,0 +1,27 @@
{
options,
config,
lib,
pkgs,
...
}:
with lib;
with lib.custom; let
cfg = config.apps.tools.direnv;
in {
options.apps.tools.direnv = with types; {
enable = mkBoolOpt false "Enable Direnv";
};
config = mkIf cfg.enable {
programs = {
direnv = {
enable = true;
nix-direnv.enable = true;
};
};
home.sessionVariables = {
DIRENV_LOG_FORMAT = "";
};
};
}