refactor: streamline core modules into dedicated folder

This commit is contained in:
Rouven Seifert 2024-03-12 12:03:29 +01:00
parent b429e6468f
commit 01bcc9ecad
Signed by untrusted user: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
12 changed files with 27 additions and 28 deletions

View file

@ -54,14 +54,14 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINJgYI2rXmw4uPXAMmOgqgJEwYfwj/IBExTCzs9Dgo+R w0lff"
];
keyFiles = [
../keys/ssh/marcus-sapphire
../keys/ssh/schrader
../keys/ssh/jannusch
../keys/ssh/jannusch-arch
../keys/ssh/tassilo
../keys/ssh/jonasga
../keys/ssh/rouven
../keys/ssh/joachim
../../keys/ssh/marcus-sapphire
../../keys/ssh/schrader
../../keys/ssh/jannusch
../../keys/ssh/jannusch-arch
../../keys/ssh/tassilo
../../keys/ssh/jonasga
../../keys/ssh/rouven
../../keys/ssh/joachim
];
};

14
modules/core/default.nix Normal file
View file

@ -0,0 +1,14 @@
{ ... }:
{
imports = [
./base.nix
./bacula.nix
./fail2ban.nix
./initrd-ssh.nix
./mysql.nix
./nginx.nix
./postgres.nix
./sssd.nix
./zsh.nix
];
}

View file

@ -1,5 +0,0 @@
{ ... }:
{
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
sops.age.generateKey = false;
}