modules: refactor common
move common into directory
This commit is contained in:
parent
f8a2457154
commit
1441015937
7 changed files with 1 additions and 1 deletions
modules/nixos
|
@ -1,28 +0,0 @@
|
|||
{ inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./auto-upgrade.nix
|
||||
./nix-daemon.nix
|
||||
./security.nix
|
||||
./sops-nix.nix
|
||||
./users.nix
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
inputs.srvos.nixosModules.mixins-telegraf
|
||||
inputs.srvos.nixosModules.server
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 9273 ];
|
||||
|
||||
srvos.flake = inputs.self;
|
||||
|
||||
zramSwap.enable = true;
|
||||
|
||||
security.acme.defaults.email = "trash@nix-community.org";
|
||||
security.acme.acceptTerms = true;
|
||||
|
||||
# Without configuration this unit will fail...
|
||||
# Just disable it since we are using telegraf to monitor raid health.
|
||||
systemd.services.mdmonitor.enable = false;
|
||||
|
||||
networking.domain = "nix-community.org";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue