Misc.
This commit is contained in:
parent
e5f2d96e8e
commit
806b368f55
4 changed files with 36 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, modulesPath, user, ... }:
|
||||
{ lib, modulesPath, enableSSL, user, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = lib.optional (builtins.pathExists ./do-userdata.nix) ./do-userdata.nix ++ [
|
||||
|
@ -16,9 +16,15 @@
|
|||
./hosts/git.elnu.com
|
||||
#./hosts/jichan.org
|
||||
#./hosts/tegakituesday.com
|
||||
./hosts/atlantapaversinc.com
|
||||
];
|
||||
fileSystems."/mnt/data" = { device = "/dev/sda"; fsType = "ext4"; };
|
||||
|
||||
programs.git.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
hugo
|
||||
];
|
||||
|
||||
networking = {
|
||||
# May cause some issues
|
||||
#networkmanager.enable = lib.mkForce false;
|
||||
|
@ -35,14 +41,14 @@
|
|||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
/*
|
||||
user = "forgejo"; # prevent 403 Forbidden error
|
||||
virtualHosts."default" = {
|
||||
default = true;
|
||||
rejectSSL = true;
|
||||
serverName = null;
|
||||
# https://stackoverflow.com/a/42802777
|
||||
locations."/".return = "444";
|
||||
};
|
||||
*/
|
||||
};
|
||||
|
||||
#services.do-agent.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue