refactor: flake dir -> outputs/sys -> nixos

This commit is contained in:
ooks-io 2024-06-08 23:06:08 +12:00
parent 3615bb010f
commit a6d5e892a1
73 changed files with 9 additions and 2 deletions

View file

@ -1,29 +0,0 @@
{ lib, config, ... }:
let
inherit (lib) mkIf;
host = config.ooknet.host;
in
{
imports = [
./firewall.nix
./tools.nix
./ssh.nix
./tcp.nix
./resolved.nix
./tailscale.nix
];
config = mkIf (host.type != "phone") {
networking.networkmanager = {
enable = true;
dns = "systemd-resolved";
};
systemd = {
network.wait-online.enable = false;
services.NetworkManager-wait-online.enable = false;
};
};
}