I forgot to add if statements for these.

This commit is contained in:
kat witch 2021-03-14 04:04:27 +00:00
parent 849df83c98
commit 71b417b7f9
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
2 changed files with 5 additions and 1 deletions

View file

@ -1,6 +1,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
config = lib.mkIf config.deploy.profile.gui {
programs.notmuch = { programs.notmuch = {
enable = true; enable = true;
hooks = { preNew = "mbsync --all"; }; hooks = { preNew = "mbsync --all"; };
@ -31,4 +32,5 @@
}; };
}; };
programs.vim.plugins = [ pkgs.arc.pkgs.vimPlugins.notmuch-vim ]; programs.vim.plugins = [ pkgs.arc.pkgs.vimPlugins.notmuch-vim ];
};
} }

View file

@ -1,5 +1,7 @@
{ config, lib, ... }: { config, lib, ... }:
{ {
xdg.enable = true; config = lib.mkIf config.deploy.profile.kat {
xdg.enable = true;
};
} }