re-split direcories #1

Merged
vinzenz merged 28 commits from modules into main 2025-09-15 19:44:30 +02:00
3 changed files with 43 additions and 44 deletions
Showing only changes of commit a377c8e30b - Show all commits

View file

@ -145,12 +145,9 @@
};
};
nixosModules = {
lix = (import ./nixosModules/lix.nix);
kdeconnect = (import ./nixosModules/kdeconnect.nix);
globalinstalls = (import ./nixosModules/globalinstalls.nix);
autoupdate = (import ./nixosModules/autoupdate.nix);
en-de = (import ./nixosModules/en-de.nix);
nixosModules =
(builtins.mapAttrs (m: _: import ./nixosModules/${m}) (builtins.readDir ./nixosModules))
// {
niri = {
imports = [ niri.nixosModules.niri ];
nixpkgs.overlays = [ niri.overlays.niri ];
@ -177,6 +174,7 @@
lix
globalinstalls
autoupdate
openssh
./modules/networking.nix
./modules/nixpkgs.nix
];

View file

@ -1,15 +1,5 @@
_: {
config = {
services.openssh = {
enable = true;
openFirewall = true;
settings = {
PermitRootLogin = "without-password";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
services.tailscale = {
enable = true;
openFirewall = true;

11
nixosModules/openssh.nix Normal file
View file

@ -0,0 +1,11 @@
{
services.openssh = {
enable = true;
openFirewall = true;
settings = {
PermitRootLogin = "without-password";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
}