fmt: removed some duplicates
This commit is contained in:
parent
775d6412af
commit
6e25003b5c
11 changed files with 7 additions and 32 deletions
|
@ -99,11 +99,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
80
|
|
||||||
443
|
|
||||||
|
|
||||||
# for git
|
# for git
|
||||||
22
|
|
||||||
2222
|
2222
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -83,10 +83,6 @@ Gonna use a priper nixos module for this
|
||||||
|
|
||||||
# firewall on teh computer itself
|
# firewall on teh computer itself
|
||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
80
|
|
||||||
443
|
|
||||||
|
|
||||||
# for ldap
|
|
||||||
389
|
389
|
||||||
636
|
636
|
||||||
];
|
];
|
||||||
|
|
|
@ -47,8 +47,6 @@
|
||||||
age.secrets.ulfm.file = ../secrets/stream_ulfm.age;
|
age.secrets.ulfm.file = ../secrets/stream_ulfm.age;
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
80
|
|
||||||
443
|
|
||||||
8000
|
8000
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,12 @@
|
||||||
imports = [
|
imports = [
|
||||||
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
||||||
|
|
||||||
|
# every sever may need the firewall config stuff
|
||||||
|
../applications/firewall.nix
|
||||||
|
|
||||||
|
# every sever needs to have a dns record
|
||||||
|
../applications/dns.nix
|
||||||
|
|
||||||
# every server needs teh ldap client for admins
|
# every server needs teh ldap client for admins
|
||||||
../applications/ldap_client.nix
|
../applications/ldap_client.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -19,9 +19,6 @@ let
|
||||||
|
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
# applications for this particular server
|
|
||||||
../applications/firewall.nix
|
|
||||||
../applications/dns.nix
|
|
||||||
./hardware/RM001.nix
|
./hardware/RM001.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -19,10 +19,6 @@ let
|
||||||
hostname = "${name}.skynet.ie";
|
hostname = "${name}.skynet.ie";
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
# general stuff for config
|
|
||||||
../applications/dns.nix
|
|
||||||
|
|
||||||
# specific to tis server
|
|
||||||
../applications/ulfm.nix
|
../applications/ulfm.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -21,9 +21,6 @@ let
|
||||||
|
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
../applications/dns.nix
|
|
||||||
|
|
||||||
# applications for this particular server
|
|
||||||
../applications/gitlab.nix
|
../applications/gitlab.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -21,11 +21,6 @@ let
|
||||||
|
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
# required imports
|
|
||||||
../applications/firewall.nix
|
|
||||||
../applications/dns.nix
|
|
||||||
|
|
||||||
# whats running on teh server
|
|
||||||
../applications/ldap.nix
|
../applications/ldap.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -20,8 +20,6 @@ let
|
||||||
|
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
# applications for this particular server
|
|
||||||
../applications/dns.nix
|
|
||||||
../applications/games.nix
|
../applications/games.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -24,10 +24,6 @@ in {
|
||||||
imports = [
|
imports = [
|
||||||
# the physical hardware for this
|
# the physical hardware for this
|
||||||
./hardware/RM002.nix
|
./hardware/RM002.nix
|
||||||
|
|
||||||
# applications for this particular server
|
|
||||||
../applications/firewall.nix
|
|
||||||
../applications/dns.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
deployment = {
|
deployment = {
|
||||||
|
|
|
@ -21,7 +21,7 @@ let
|
||||||
ns = "ns2";
|
ns = "ns2";
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
../applications/dns.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
deployment = {
|
deployment = {
|
||||||
|
|
Loading…
Reference in a new issue