From 26dfd6ddc08545ea3c546feef898d944018a5e4c Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Wed, 21 Aug 2024 14:53:38 -0400 Subject: [PATCH] Added latest work for cloak --- .vscode/settings.json | 2 +- hosts/cloaky.nix | 31 +++++++++++++++++++++++++++---- modules/home/default.nix | 2 -- 3 files changed, 28 insertions(+), 7 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index aaaafe6..5d0f791 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,5 @@ { "nix.enableLanguageServer": true, - "nix.serverPath": "nil", + "nix.serverPath": "nixd", } diff --git a/hosts/cloaky.nix b/hosts/cloaky.nix index acd1eb1..928d95c 100644 --- a/hosts/cloaky.nix +++ b/hosts/cloaky.nix @@ -1,6 +1,29 @@ -{pkgs, ...}: { - packages = with pkgs; [ +{ pkgs, ... }: +{ + + nix = { + enable = true; + package = pkgs.nix; + extraOptions = '' + experimental-features = nix-command flakes + !include ./extra.conf + ''; + }; + programs.home-manager.enable = true; + home.packages = with pkgs; [ cloudflared - home-manager + nvd + deno + ollama + go ]; -} \ No newline at end of file + home.shellAliases = { + cat = "bat"; + }; + home.sessionPath = [ + "$HOME/.local/bin" + ]; + home.sessionVariables = { + OLLAMA_HOST = "http://bigbox1.lab.internal:11434"; + }; +} diff --git a/modules/home/default.nix b/modules/home/default.nix index c1b6f47..5653ba8 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -37,9 +37,7 @@ in packages = with pkgs; [ jq nixpkgs-fmt ipfetch nixd ] ++ (if enableDevelopmentKit then [ - rye devenv - uv devbox terraform kubectl