From 3914d48af6c0806e100cfc047ddc6f2cd6b641e9 Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Sun, 12 Jan 2025 17:22:56 +0530 Subject: [PATCH] feat: Disable navidrome and ollama --- common/gui.nix | 10 ++++++++++ common/home.nix | 15 --------------- nixos/mirai/services/default.nix | 4 ++-- nixos/mirai/services/llama.nix | 2 +- nixos/mirai/services/nextcloud.nix | 1 + 5 files changed, 14 insertions(+), 18 deletions(-) diff --git a/common/gui.nix b/common/gui.nix index e766e7d7..256ad34b 100644 --- a/common/gui.nix +++ b/common/gui.nix @@ -23,6 +23,16 @@ lib.attrsets.optionalAttrs device.hasGui { # home.file = lib.optionalAttrs device.isMac { # "Applications/1Password.app".source = "${pkgs._1password-gui}/Applications/1Password.app"; # }; + + # Only for checking markdown previews + vscode = { + enable = true; + package = pkgs.vscodium; + extensions = with pkgs.vscode-extensions; [ + shd101wyy.markdown-preview-enhanced + asvetliakov.vscode-neovim + ]; + }; home.packages = with pkgs; [] ++ lib.optionals pkgs.stdenv.isLinux [ diff --git a/common/home.nix b/common/home.nix index 05efe17e..b8f6475d 100644 --- a/common/home.nix +++ b/common/home.nix @@ -159,10 +159,6 @@ in { enableFishIntegration = true; enableNushellIntegration = true; }; - # thefuck = { - # enable = true; - # enableFishIntegration = true; - # }; direnv = { enable = true; # enableFishIntegration = true; // Auto enabled @@ -255,7 +251,6 @@ in { shellAliases = { cd = "z"; yy = "yazi"; - nv = "neovide"; cat = "bat"; }; extraConfig = '' @@ -332,16 +327,6 @@ in { # extraPackages = with pkgs.bat-extras; [batman batgrep batwatch]; }; - # Only for checking markdown previews - vscode = { - enable = true; - package = pkgs.vscodium; - extensions = with pkgs.vscode-extensions; [ - shd101wyy.markdown-preview-enhanced - asvetliakov.vscode-neovim - ]; - }; - home-manager = {enable = true;}; aichat = { enable = true; diff --git a/nixos/mirai/services/default.nix b/nixos/mirai/services/default.nix index e59ab0b9..aa562deb 100644 --- a/nixos/mirai/services/default.nix +++ b/nixos/mirai/services/default.nix @@ -3,8 +3,8 @@ ./atuin.nix ./authelia.nix ./home-assistant.nix - ./navidrome.nix - ./llama.nix + # ./navidrome.nix + # ./llama.nix ./nextcloud.nix ./jellyfin.nix ]; diff --git a/nixos/mirai/services/llama.nix b/nixos/mirai/services/llama.nix index 1f73caba..86241eb8 100644 --- a/nixos/mirai/services/llama.nix +++ b/nixos/mirai/services/llama.nix @@ -14,7 +14,7 @@ }; }; nextjs-ollama-llm-ui = { - enable = true; + enable = false; port = 5096; ollamaUrl = "https://llama.darksailor.dev/api/ollama"; }; diff --git a/nixos/mirai/services/nextcloud.nix b/nixos/mirai/services/nextcloud.nix index 548d4b6d..33856f7b 100644 --- a/nixos/mirai/services/nextcloud.nix +++ b/nixos/mirai/services/nextcloud.nix @@ -13,6 +13,7 @@ hostName = "cloud.darksailor.dev"; config.adminuser = "servius"; config.adminpassFile = config.sops.secrets."nextcloud/adminpass".path; + config.dbtype = "sqlite"; configureRedis = true; https = true; };