diff --git a/modules/os.nix b/modules/os.nix index e97b692..d540aac 100644 --- a/modules/os.nix +++ b/modules/os.nix @@ -11,21 +11,6 @@ in type = types.path; }; - hostName = mkOption { - type = types.str; - default = null; - }; - - # domain = mkOption { - # type = types.str; - # default = "local"; - # }; - - # searchDomains = mkOption { - # type = types.listOf types.str; - # default = [ cfg.domain ]; - # }; - cert = mkOption { type = types.attrs; default = null; @@ -53,13 +38,6 @@ in users.extraUsers.root.openssh.authorizedKeys.keys = cfg.adminAuthorizedKeys; - networking = { - hostName = cfg.hostName; - # domain = cfg.domain; - # search = cfg.searchDomains; - extraHosts = cfg.extraHosts; - }; - security.pki.certificateFiles = [ pki.ca.cert ]; boot.kernel.sysctl = { "kernel.mm.transparent_hugepage.enabled" = "never";