From 51ad05144390b7451d92d5fb4bef10b287033fe4 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Thu, 31 Aug 2023 23:52:03 +0100 Subject: [PATCH] delete unneeded services.default --- examples/arhcive.nix | 14 -------------- examples/extneder.nix | 14 -------------- vanilla-configuration.nix | 5 ----- 3 files changed, 33 deletions(-) diff --git a/examples/arhcive.nix b/examples/arhcive.nix index dbb4774..183168d 100644 --- 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 index 51bba71..e4e26dd 100644 --- 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 index 84af526..f608b9e 100644 --- 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";