nix: fix stable options
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
3d78606a56
commit
8820846d31
2 changed files with 23 additions and 15 deletions
|
@ -10,15 +10,21 @@ in {
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
# https://github.com/direnv/direnv
|
||||
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 = {
|
||||
programs.direnv =
|
||||
{
|
||||
enable = true;
|
||||
}
|
||||
// optionalAttrs (versionAtLeast version "24.11") {
|
||||
silent = true;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -23,9 +23,11 @@ in {
|
|||
services = {
|
||||
gvfs.enable = true; # Trash dependency
|
||||
|
||||
gnome = {
|
||||
gnome =
|
||||
{
|
||||
sushi.enable = true; # Quick preview with spacebar
|
||||
|
||||
}
|
||||
// optionalAttrs (versionAtLeast version "24.11") {
|
||||
# File indexing
|
||||
localsearch.enable = cfg.index;
|
||||
tinysparql.enable = cfg.index;
|
||||
|
|
Loading…
Reference in a new issue