From 3b48176fe9c4bd1c3799a3ce02980c2434fe3ddb Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 28 Jul 2023 02:17:03 -0600 Subject: [PATCH] [NixOS] Limit systemd-boot to 7 configurations to avoid running out of space --- nixos/base.nix | 2 ++ nixos/desktop.nix | 1 + 2 files changed, 3 insertions(+) diff --git a/nixos/base.nix b/nixos/base.nix index 9e50fa17..308ecb51 100644 --- a/nixos/base.nix +++ b/nixos/base.nix @@ -11,6 +11,8 @@ "openssl-1.0.2u" ]; + boot.loader.systemd-boot.configurationLimit = 7; + # Disabling these waits disables the stuck on boot up issue systemd.services.systemd-udev-settle.enable = false; systemd.services.NetworkManager-wait-online.enable = false; diff --git a/nixos/desktop.nix b/nixos/desktop.nix index b1a6ac50..89ce649c 100644 --- a/nixos/desktop.nix +++ b/nixos/desktop.nix @@ -24,6 +24,7 @@ }; }; + # This is for the benefit of VSCODE running natively in wayland environment.sessionVariables.NIXOS_OZONE_WL = "1"; environment.systemPackages = with pkgs; [