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 { config = mkIf cfg.enable {
# https://github.com/direnv/direnv # https://github.com/direnv/direnv
programs.direnv = { programs.direnv =
enable = true; {
loadInNixShell = false; # nix develop
silent = true;
};
home-manager.users.${config.custom.username} = {
programs.direnv = {
enable = true; enable = true;
loadInNixShell = false; # nix develop
}
// optionalAttrs (versionAtLeast version "24.11") {
silent = true; 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 = { services = {
gvfs.enable = true; # Trash dependency gvfs.enable = true; # Trash dependency
gnome = { gnome =
sushi.enable = true; # Quick preview with spacebar {
sushi.enable = true; # Quick preview with spacebar
# File indexing }
localsearch.enable = cfg.index; // optionalAttrs (versionAtLeast version "24.11") {
tinysparql.enable = cfg.index; # File indexing
}; localsearch.enable = cfg.index;
tinysparql.enable = cfg.index;
};
}; };
# Alternative fix to services.gnome.core-utilities.enable # Alternative fix to services.gnome.core-utilities.enable