Merge branch 'main' of git.vatthauer.xyz:leonv/nixos

This commit is contained in:
Leon Vatthauer 2024-03-04 10:31:27 +01:00
commit aacb0981bb
Signed by: leonv
SSH key fingerprint: SHA256:G4+ddwoZmhLPRB1agvXzZMXIzkVJ36dUYZXf5NxT+u8
2 changed files with 13 additions and 3 deletions

View file

@ -59,6 +59,9 @@
"window.enableMenuBarMnemonics" = false; "window.enableMenuBarMnemonics" = false;
"ltex.sentenceCacheSize" = 50000; "ltex.sentenceCacheSize" = 50000;
"ltex.java.maximumHeapSize" = 8192; "ltex.java.maximumHeapSize" = 8192;
"ltex.latex.environments" = {
"tikzcd" = "ignore";
};
"editor.tabSize" = 2; "editor.tabSize" = 2;
"explorer.excludeGitIgnore" = true; "explorer.excludeGitIgnore" = true;
"files.exclude" = { "files.exclude" = {

View file

@ -1,11 +1,8 @@
# hosts/YourHostName/default.nix
{ pkgs, home-manager, inputs, ... }@mod-inputs: { pkgs, home-manager, inputs, ... }@mod-inputs:
{ {
# Make sure the nix daemon always runs # Make sure the nix daemon always runs
services.nix-daemon.enable = true; 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), # 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 # you'll need to enable this so nix-darwin creates a zshrc sourcing needed environment changes
@ -24,4 +21,14 @@
fonts.fonts = [ fonts.fonts = [
pkgs.mononoki 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;
} }