diff options
Diffstat (limited to '')
| -rw-r--r-- | home/default.nix | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/home/default.nix b/home/default.nix index 4ca97c3..54a2737 100644 --- a/home/default.nix +++ b/home/default.nix @@ -3,6 +3,7 @@ config, vars, pkgs, + lib, ... }: let @@ -42,15 +43,23 @@ in ./zaread.nix ]; + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 14d"; + }; + home = { + activation.mySymlinks = lib.mkAfter '' + ln -sf /media/skydrive/Downloads /home/petri/Downloads; + ''; file = { ".cache/nix-index/.keep".text = ""; "Calendar/radicale/.keep".text = ""; "Contacts/radicale/.keep".text = ""; - Downloads.source = config.lib.file.mkOutOfStoreSymlink "/media/skydrive/Downloads"; }; enableNixpkgsReleaseCheck = true; - stateVersion = "25.05"; + stateVersion = "25.11"; shell = { enableBashIntegration = true; enableFishIntegration = true; @@ -170,9 +179,6 @@ in sqlite # simple database timg # show image in shell unstable.goose-cli # llm cli - unstable.vale # spellcheck - unstable.valeStyles.microsoft # spellcheck linters - unstable.valeStyles.write-good # spellcheck linters whisper-cpp # tts wlogout # logout helper xdg-utils @@ -188,7 +194,7 @@ in couchbase-shell # couchbase d2 # graphs gnumake # makefile - lean4 # theorem prover - broken + lean4 # theorem prover lld # c and rust linker nodePackages.jsdoc # javascript documentation uv # python package installer @@ -256,6 +262,14 @@ in }; programs = { + tex-fmt = { + enable = true; + settings = { + wrap = false; + tabchar = "tab"; + tabsize = 1; + }; + }; go = { enable = true; telemetry.mode = "off"; @@ -584,7 +598,7 @@ in nvim = { categories = [ ]; comment = "A text editor"; - exec = ''${pkgs.neovim}/bin/nvim''; + exec = "${pkgs.neovim}/bin/nvim"; genericName = "Editor"; name = "nvim"; terminal = true; |
