1
1
Fork 0

nix: fix stable options

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-12-14 22:26:16 -06:00
parent 3d78606a56
commit 8820846d31
Signed by: myned
GPG key ID: C7224454F7881A34
2 changed files with 23 additions and 15 deletions

View file

@ -10,17 +10,23 @@ in {
config = mkIf cfg.enable {
# https://github.com/direnv/direnv
programs.direnv = {
enable = true;
loadInNixShell = false; # nix develop
silent = true;
};
home-manager.users.${config.custom.username} = {
programs.direnv = {
programs.direnv =
{
enable = true;
loadInNixShell = false; # nix develop
}
// optionalAttrs (versionAtLeast version "24.11") {
silent = true;
};
home-manager.users.${config.custom.username} = {
programs.direnv =
{
enable = true;
}
// optionalAttrs (versionAtLeast version "24.11") {
silent = true;
};
};
};
}

View file

@ -23,13 +23,15 @@ in {
services = {
gvfs.enable = true; # Trash dependency
gnome = {
sushi.enable = true; # Quick preview with spacebar
# File indexing
localsearch.enable = cfg.index;
tinysparql.enable = cfg.index;
};
gnome =
{
sushi.enable = true; # Quick preview with spacebar
}
// optionalAttrs (versionAtLeast version "24.11") {
# File indexing
localsearch.enable = cfg.index;
tinysparql.enable = cfg.index;
};
};
# Alternative fix to services.gnome.core-utilities.enable