From 09495288799fc9023a84ac7d630d4062e141e6a8 Mon Sep 17 00:00:00 2001 From: cnst Date: Sat, 16 Aug 2025 14:17:55 +0200 Subject: [PATCH] some fixes for toothpc --- hosts/toothpc/default.nix | 5 ++++- hosts/toothpc/modules.nix | 2 +- modules/home/programs/vscode/default.nix | 2 +- modules/home/programs/zsh/default.nix | 1 - 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/hosts/toothpc/default.nix b/hosts/toothpc/default.nix index 9ae5a548..09fb1611 100644 --- a/hosts/toothpc/default.nix +++ b/hosts/toothpc/default.nix @@ -38,7 +38,10 @@ in { networking.hostName = "toothpc"; - environment.variables.NH_FLAKE = "/home/toothpick/.nix-config"; + environment.variables = { + NH_FLAKE = "/home/toothpick/.nix-config"; + ZDOTDIR = "$XDG_CONFIG_HOME/zsh"; + }; # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion system.stateVersion = lib.mkDefault "23.11"; diff --git a/hosts/toothpc/modules.nix b/hosts/toothpc/modules.nix index 483f22d4..70ce2b8d 100644 --- a/hosts/toothpc/modules.nix +++ b/hosts/toothpc/modules.nix @@ -45,7 +45,7 @@ enable = true; }; beekeeper = { - enable = true; + enable = false; }; blender = { enable = false; diff --git a/modules/home/programs/vscode/default.nix b/modules/home/programs/vscode/default.nix index b161890a..780defba 100644 --- a/modules/home/programs/vscode/default.nix +++ b/modules/home/programs/vscode/default.nix @@ -14,7 +14,7 @@ in { programs.vscode = { enable = true; package = pkgs.vscodium; - extensions = with pkgs.vscode-extensions; [ + profiles.default.extensions = with pkgs.vscode-extensions; [ sainnhe.gruvbox-material vscodevim.vim rust-lang.rust-analyzer diff --git a/modules/home/programs/zsh/default.nix b/modules/home/programs/zsh/default.nix index 5bc64867..8e458279 100644 --- a/modules/home/programs/zsh/default.nix +++ b/modules/home/programs/zsh/default.nix @@ -15,7 +15,6 @@ in { config = mkIf cfg.enable { programs.zsh = { enable = true; - dotDir = ".config/zsh"; enableCompletion = true; autosuggestion.enable = true; syntaxHighlighting.enable = true;