From 2e03a4c4d1fa4ed94c9b4bdf3bae1a245e9ad787 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Tue, 24 Dec 2024 13:57:47 +0800 Subject: [PATCH] nixos: disable nixos containers --- nixos/profiles/core/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/profiles/core/default.nix b/nixos/profiles/core/default.nix index 0289010..b7e3d1d 100644 --- a/nixos/profiles/core/default.nix +++ b/nixos/profiles/core/default.nix @@ -14,6 +14,8 @@ nixpkgs.overlays = [ inputs.self.overlays.default ]; + boot.enableContainers = false; + boot.initrd.systemd.enable = true; boot.kernelPackages = pkgs.linuxPackages_latest; environment.systemPackages = with pkgs; [ @@ -32,7 +34,6 @@ ]; users.mutableUsers = false; - boot.initrd.systemd.enable = true; environment.stub-ld.enable = false; programs.command-not-found.enable = false;