Merge branch 'main' of git.vatthauer.xyz:leonv/nixos
This commit is contained in:
commit
aacb0981bb
2 changed files with 13 additions and 3 deletions
|
@ -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" = {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue