2023-09-24 10:15:53 +02:00
|
|
|
modulesCfg: {lib, ...}: {
|
|
|
|
imports =
|
|
|
|
[
|
|
|
|
./i18n.nix
|
|
|
|
./nixpkgs.nix
|
2023-09-24 10:46:15 +02:00
|
|
|
./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
|
2023-09-24 10:15:53 +02:00
|
|
|
]
|
|
|
|
++ (map (path: (import path modulesCfg)) [
|
|
|
|
./hardware
|
2023-09-24 12:39:28 +02:00
|
|
|
./users
|
2023-09-24 13:20:34 +02:00
|
|
|
./desktop
|
2023-09-24 10:15:53 +02:00
|
|
|
]);
|
|
|
|
|
|
|
|
config = {
|
|
|
|
my.modulesCfg = modulesCfg;
|
2024-03-02 13:02:14 +01:00
|
|
|
|
|
|
|
networking.firewall = {
|
|
|
|
enable = true;
|
|
|
|
checkReversePath = "loose";
|
|
|
|
};
|
2023-09-24 10:15:53 +02:00
|
|
|
};
|
|
|
|
}
|