module-based-network
Daniel Barlow 2023-05-20 22:48:30 +01:00
parent b363840901
commit f249c12bec
2 changed files with 1 additions and 7 deletions

View File

@ -163,7 +163,7 @@ in rec {
dir = "/run/dnsmasq";
shell = "/bin/false";
};
users.root.passwd = lib.mkForce secrets.root_password;
users.root = secrets.root;
groups.dnsmasq = {
gid = 51; usernames = ["dnsmasq"];

View File

@ -31,12 +31,6 @@ in {
];
};
# services.dhcpc =
# let iface = config.hardware.networkInterfaces.lan;
# in (udhcpc iface {
# dependencies = [ config.services.hostname ];
# }) // { inherit (iface) device; };
rootfsType = "jffs2";
services.default = lib.mkForce (target {
name = "default";