delete unneeded services.default
This commit is contained in:
parent
92970e8ed0
commit
51ad051443
3 changed files with 0 additions and 33 deletions
|
@ -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 = {
|
users.root = {
|
||||||
passwd = lib.mkForce secrets.root_password;
|
passwd = lib.mkForce secrets.root_password;
|
||||||
# openssh.authorizedKeys.keys = [
|
# openssh.authorizedKeys.keys = [
|
||||||
|
|
|
@ -145,20 +145,6 @@ in rec {
|
||||||
dependencies = [services.dhcpc];
|
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;
|
users.root.passwd = lib.mkForce secrets.root_password;
|
||||||
defaultProfile.packages = with pkgs; [nftables strace tcpdump swconfig];
|
defaultProfile.packages = with pkgs; [nftables strace tcpdump swconfig];
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,11 +39,6 @@ in rec {
|
||||||
pools = { "pool.ntp.org" = ["iburst"] ; };
|
pools = { "pool.ntp.org" = ["iburst"] ; };
|
||||||
};
|
};
|
||||||
|
|
||||||
services.default = target {
|
|
||||||
name = "default";
|
|
||||||
contents = with services; [ loopback ntp defaultroute4 ];
|
|
||||||
};
|
|
||||||
|
|
||||||
boot.tftp = {
|
boot.tftp = {
|
||||||
serverip = "192.168.8.148";
|
serverip = "192.168.8.148";
|
||||||
ipaddr = "192.168.8.251";
|
ipaddr = "192.168.8.251";
|
||||||
|
|
Loading…
Reference in a new issue