Use common module
This commit is contained in:
parent
b48e25aa7d
commit
ae24ddfe1a
9 changed files with 64 additions and 115 deletions
|
|
@ -23,7 +23,10 @@ in
|
|||
};
|
||||
|
||||
my = {
|
||||
utils.commons.enable = true;
|
||||
utils = {
|
||||
commons.enable = true;
|
||||
lxc-standard.enable = true;
|
||||
};
|
||||
|
||||
services = {
|
||||
|
||||
|
|
@ -123,30 +126,15 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Rome";
|
||||
|
||||
# Extra packages
|
||||
environment.systemPackages = with pkgs; [ ];
|
||||
|
||||
services = {
|
||||
openssh.enable = true;
|
||||
|
||||
iperf3 = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
prometheus.exporters = {
|
||||
node = {
|
||||
enable = true;
|
||||
enabledCollectors = [ "systemd" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
networking = {
|
||||
firewall.allowedTCPPorts = [ 9100 ];
|
||||
nameservers = [ "192.168.1.2" ];
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue