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,15 +10,21 @@ 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; enable = true;
loadInNixShell = false; # nix develop loadInNixShell = false; # nix develop
}
// optionalAttrs (versionAtLeast version "24.11") {
silent = true; silent = true;
}; };
home-manager.users.${config.custom.username} = { home-manager.users.${config.custom.username} = {
programs.direnv = { programs.direnv =
{
enable = true; enable = true;
}
// optionalAttrs (versionAtLeast version "24.11") {
silent = true; silent = true;
}; };
}; };

View file

@ -23,9 +23,11 @@ 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
}
// optionalAttrs (versionAtLeast version "24.11") {
# File indexing # File indexing
localsearch.enable = cfg.index; localsearch.enable = cfg.index;
tinysparql.enable = cfg.index; tinysparql.enable = cfg.index;