feat: nix store optimizations
This commit is contained in:
parent
0ae9cb327b
commit
dc4b106f42
|
@ -35,10 +35,9 @@ in {
|
||||||
|
|
||||||
networking.wg-quick.interfaces = {
|
networking.wg-quick.interfaces = {
|
||||||
wg0 = {
|
wg0 = {
|
||||||
|
privateKeyFile = "/root/wireguard-keys/private";
|
||||||
address = [ "10.0.0.3/32" ];
|
address = [ "10.0.0.3/32" ];
|
||||||
dns = [ "10.0.0.1" ];
|
dns = [ "10.0.0.1" ];
|
||||||
privateKeyFile = "/root/wireguard-keys/private";
|
|
||||||
|
|
||||||
peers = [{
|
peers = [{
|
||||||
publicKey = "y36/EpLUerwM6NSGsVDCkb37Wj/Z3CI0mPFGatVa0Ws=";
|
publicKey = "y36/EpLUerwM6NSGsVDCkb37Wj/Z3CI0mPFGatVa0Ws=";
|
||||||
allowedIPs = [ "10.0.0.1/24" ];
|
allowedIPs = [ "10.0.0.1/24" ];
|
||||||
|
@ -303,11 +302,12 @@ in {
|
||||||
brettm12345.nixfmt-vscode
|
brettm12345.nixfmt-vscode
|
||||||
arrterian.nix-env-selector
|
arrterian.nix-env-selector
|
||||||
|
|
||||||
|
ms-vsliveshare.vsliveshare
|
||||||
eamodio.gitlens
|
eamodio.gitlens
|
||||||
github.copilot
|
github.copilot
|
||||||
|
|
||||||
editorconfig.editorconfig
|
|
||||||
yzhang.markdown-all-in-one
|
yzhang.markdown-all-in-one
|
||||||
|
editorconfig.editorconfig
|
||||||
|
|
||||||
catppuccin.catppuccin-vsc
|
catppuccin.catppuccin-vsc
|
||||||
file-icons.file-icons
|
file-icons.file-icons
|
||||||
|
@ -611,6 +611,14 @@ in {
|
||||||
# experimental features
|
# experimental features
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
|
# optimizations
|
||||||
|
nix.settings.auto-optimise-store = true;
|
||||||
|
nix.gc = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "weekly";
|
||||||
|
options = "--delete-older-than 30d";
|
||||||
|
};
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
|
Loading…
Reference in a new issue