diff --git a/common/vscode.nix b/common/vscode.nix index 6aaaeec..3de8349 100755 --- a/common/vscode.nix +++ b/common/vscode.nix @@ -59,6 +59,9 @@ "window.enableMenuBarMnemonics" = false; "ltex.sentenceCacheSize" = 50000; "ltex.java.maximumHeapSize" = 8192; + "ltex.latex.environments" = { + "tikzcd" = "ignore"; + }; "editor.tabSize" = 2; "explorer.excludeGitIgnore" = true; "files.exclude" = { diff --git a/shinx/default.nix b/shinx/default.nix index 28ab0d2..01ccc69 100755 --- a/shinx/default.nix +++ b/shinx/default.nix @@ -1,11 +1,8 @@ -# hosts/YourHostName/default.nix { pkgs, home-manager, inputs, ... }@mod-inputs: { # Make sure the nix daemon always runs services.nix-daemon.enable = true; - # Installs a version of nix, that dosen't need "experimental-features = nix-command flakes" in /etc/nix/nix.conf - #services.nix-daemon.package = pkgs.nixFlakes; # if you use zsh (the default on new macOS installations), # you'll need to enable this so nix-darwin creates a zshrc sourcing needed environment changes @@ -24,4 +21,14 @@ fonts.fonts = [ pkgs.mononoki ]; + + + # automatically garbage collect and optimise + nix.gc = { + automatic = true; + interval = { Weekday = 0; Hour = 0; Minute = 0; }; + options = "--delete-older-than 30d"; + }; + + nix.settings.auto-optimise-store = true; }