commit 51ad05144390b7451d92d5fb4bef10b287033fe4 parent 92970e8ed08508d7819fbb7774be98cdfc609c2d Author: Daniel Barlow <dan@telent.net> Date: Thu, 31 Aug 2023 23:52:03 +0100 delete unneeded services.default Diffstat:
| M | examples/arhcive.nix | | | 14 | -------------- |
| M | examples/extneder.nix | | | 14 | -------------- |
| M | vanilla-configuration.nix | | | 5 | ----- |
3 files changed, 0 insertions(+), 33 deletions(-)
diff --git a/examples/arhcive.nix b/examples/arhcive.nix @@ -200,20 +200,6 @@ in rec { ] ; }; - services.default = target { - name = "default"; - contents = - let links = config.hardware.networkInterfaces; - in with config.services; [ - links.lo - defaultroute4 - resolvconf - sshd - rsync - watchdog - ]; - }; - users.root = { passwd = lib.mkForce secrets.root_password; # openssh.authorizedKeys.keys = [ diff --git a/examples/extneder.nix b/examples/extneder.nix @@ -145,20 +145,6 @@ in rec { dependencies = [services.dhcpc]; }; - services.default = target { - name = "default"; - contents = - let links = config.hardware.networkInterfaces; - in with config.services; [ - links.lo links.eth links.wlan - int - bridge - hostap - defaultroute4 - resolvconf - sshd - ]; - }; users.root.passwd = lib.mkForce secrets.root_password; defaultProfile.packages = with pkgs; [nftables strace tcpdump swconfig]; } diff --git a/vanilla-configuration.nix b/vanilla-configuration.nix @@ -39,11 +39,6 @@ in rec { pools = { "pool.ntp.org" = ["iburst"] ; }; }; - services.default = target { - name = "default"; - contents = with services; [ loopback ntp defaultroute4 ]; - }; - boot.tftp = { serverip = "192.168.8.148"; ipaddr = "192.168.8.251";