From eeb25758818a949a963e885f830ac08cab87da52 Mon Sep 17 00:00:00 2001 From: Sense T Date: Mon, 26 Jun 2023 08:38:25 +0800 Subject: [PATCH] bugfix --- configuration.nix | 1 + flake.nix | 1 + global/software-configuration.nix | 2 ++ 3 files changed, 4 insertions(+) diff --git a/configuration.nix b/configuration.nix index e5f6305..b7a40d6 100644 --- a/configuration.nix +++ b/configuration.nix @@ -13,6 +13,7 @@ boot.plymouth.enable = true; boot.loader.systemd-boot.enable = true; + boot.loader.systemd-boot.configurationLimit = 2; boot.loader.efi.canTouchEfiVariables = true; # Use xanmod kernel diff --git a/flake.nix b/flake.nix index 6667c35..af455c7 100644 --- a/flake.nix +++ b/flake.nix @@ -2,6 +2,7 @@ description = "NixOS configuration for GPD Win Max"; nixConfig = { + auto-optimise-store = true; substituters = [ "https://mirrors.ustc.edu.cn/nix-channels/store" # 中科大 "https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store" # 清华 diff --git a/global/software-configuration.nix b/global/software-configuration.nix index ed7e775..d40089b 100644 --- a/global/software-configuration.nix +++ b/global/software-configuration.nix @@ -6,7 +6,9 @@ # Enable automatic login for the user. services = { + logrotate.checkConfig = false; flatpak.enable = true; + greetd = { enable = true; settings = rec {