Compare commits
No commits in common. "ede4232f2853b7a4d269aabdef80052a70e2c815" and "35c329c4d8570e8519ef13ea6b7aeed71dfa49d6" have entirely different histories.
ede4232f28
...
35c329c4d8
@ -21,8 +21,6 @@
|
||||
boot.initrd.kernelModules = [ "vfio_pci" "vfio" "vfio_iommu_type1" "vfio_virqfd" ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.tmpOnTmpfs = true;
|
||||
zramSwap.enable = true;
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-label/NIXROOT";
|
||||
|
@ -22,8 +22,6 @@
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.kernelParams = [ "mitigations=off" "luks.options=fido2-device=auto" ];
|
||||
boot.tmpOnTmpfs = true;
|
||||
zramSwap.enable = true;
|
||||
|
||||
boot.initrd.luks = {
|
||||
fido2Support = true;
|
||||
|
@ -21,8 +21,6 @@
|
||||
boot.initrd.kernelModules = [ "vfio_pci" "vfio" "vfio_iommu_type1" "vfio_virqfd" ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.tmpOnTmpfs = true;
|
||||
zramSwap.enable = true;
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-label/NIXROOT";
|
||||
|
@ -23,7 +23,11 @@
|
||||
mailerPasswordFile = config.age.secrets."services/gitea/mailerPassword".path;
|
||||
settings = {
|
||||
server = {
|
||||
SSH_PORT = 2220;
|
||||
START_SSH_SERVER = true;
|
||||
SSH_PORT = 2222;
|
||||
# SSH_SERVER_CIPHERS = "";
|
||||
# SSH_SERVER_KEY_EXCHANGES = "";
|
||||
# SSH_SERVER_MACS = "";
|
||||
ENABLE_GZIP = true;
|
||||
};
|
||||
security = {
|
||||
@ -64,6 +68,12 @@
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
interfaces.ens18 = {
|
||||
allowedTCPPorts = [ 2222 ];
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedTlsSettings = true;
|
||||
|
Loading…
Reference in New Issue
Block a user