Auto-optimize store, website
This commit is contained in:
parent
1aeb85e258
commit
71789fb33c
2 changed files with 16 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/cloudflare.token
|
|
@ -35,6 +35,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nix.settings.auto-optimise-store = true;
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
programs.iftop.enable = true;
|
programs.iftop.enable = true;
|
||||||
programs.iotop.enable = true;
|
programs.iotop.enable = true;
|
||||||
|
@ -77,9 +78,22 @@
|
||||||
apiTokenFile = "/home/jt/conf/cloudflare.token";
|
apiTokenFile = "/home/jt/conf/cloudflare.token";
|
||||||
};
|
};
|
||||||
networking.firewall.enable = true;
|
networking.firewall.enable = true;
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
|
|
||||||
|
#security.acme.acceptTerms = true;
|
||||||
|
#security.acme.defaults.email = "";
|
||||||
|
services.nginx = {
|
||||||
|
enable = true;
|
||||||
|
virtualHosts = {
|
||||||
|
"leena.jakest.us" = {
|
||||||
|
addSSL = true;
|
||||||
|
#enableACME = true;
|
||||||
|
root = "/var/www/leena.jakest.us";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# 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