2 lass: remove gitolite from base.nix

This commit is contained in:
lassulus 2015-07-21 19:02:31 +02:00
parent 2eb1002f7a
commit 69a4c44f08

View File

@ -99,11 +99,11 @@ with lib;
"sendmail" "sendmail"
]; ];
services.gitolite = { #services.gitolite = {
enable = true; # enable = true;
dataDir = "/home/gitolite"; # dataDir = "/home/gitolite";
adminPubkey = config.sshKeys.lass.pub; # adminPubkey = config.sshKeys.lass.pub;
}; #};
services.openssh = { services.openssh = {
enable = true; enable = true;
@ -132,27 +132,4 @@ with lib;
}; };
}; };
#Networking.firewall = {
# enable = true;
# allowedTCPPorts = [
# 22
# ];
# extraCommands = ''
# iptables -A INPUT -j ACCEPT -m conntrack --ctstate RELATED,ESTABLISHED
# iptables -A INPUT -j ACCEPT -i lo
# #http://serverfault.com/questions/84963/why-not-block-icmp
# iptables -A INPUT -j ACCEPT -p icmp
# #TODO: fix Retiolum firewall
# #iptables -N RETIOLUM
# #iptables -A INPUT -j RETIOLUM -i retiolum
# #iptables -A RETIOLUM -j ACCEPT -m conntrack --ctstate RELATED,ESTABLISHED
# #iptables -A RETIOLUM -j REJECT -p tcp --reject-with tcp-reset
# #iptables -A RETIOLUM -j REJECT -p udp --reject-with icmp-port-unreachable
# #iptables -A RETIOLUM -j REJECT --reject-with icmp-proto-unreachable
# #iptables -A RETIOLUM -j REJECT
# '';
#};
} }