From fc13dfc47d16a67194c442cc034b5c555162e063 Mon Sep 17 00:00:00 2001 From: Sense T Date: Tue, 26 Sep 2023 08:17:56 +0000 Subject: [PATCH] env config --- global/system-configuration.nix | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/global/system-configuration.nix b/global/system-configuration.nix index f5391d0..ad8c1f6 100644 --- a/global/system-configuration.nix +++ b/global/system-configuration.nix @@ -1,20 +1,10 @@ { + environment.variables.CONTAINERD_NAMESPACE = "k8s.io"; + environment.variables.CONTAINERD_ADDRESS = "/run/k3s/containerd/containerd.sock"; + time.timeZone = "Asia/Shanghai"; security.sudo.wheelNeedsPassword = true; - /* - hardware = { - opengl = { - enable = true; - extraPackages = with pkgs; [ - mesa.drivers - libvdpau-va-gl - vaapiVdpau - ]; - }; - }; - */ - # Select internationalisation properties. i18n = { defaultLocale = "zh_CN.UTF-8";