nixos-configuration/modules/default.nix

26 lines
422 B
Nix
Raw Normal View History

modulesCfg: {lib, ...}: {
imports =
[
./i18n.nix
./nixpkgs.nix
./globalinstalls.nix
2023-09-24 14:56:07 +02:00
./sshd.nix
2023-12-04 22:24:43 +01:00
./tailscale.nix
2023-12-16 11:28:44 +01:00
./buildtools.nix
]
++ (map (path: (import path modulesCfg)) [
./hardware
2023-09-24 12:39:28 +02:00
./users
2023-09-24 13:20:34 +02:00
./desktop
]);
config = {
my.modulesCfg = modulesCfg;
2024-03-02 13:02:14 +01:00
networking.firewall = {
enable = true;
checkReversePath = "loose";
};
};
}