refactor: flake dir -> outputs/sys -> nixos
This commit is contained in:
parent
3615bb010f
commit
a6d5e892a1
73 changed files with 9 additions and 2 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue