refactor: move neovim to home-manager, add nix.gc, bump home.stateVersion to 25.11

This commit is contained in:
2026-05-29 22:13:47 +08:00
parent ec39218bbe
commit c052eeec86
2 changed files with 13 additions and 4 deletions
+6 -2
View File
@@ -13,6 +13,12 @@
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.auto-optimise-store = true;
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
@@ -139,8 +145,6 @@
packages = with pkgs; [
kdePackages.kate
nodejs
git
neovim
# thunderbird
];
};
+7 -2
View File
@@ -45,7 +45,6 @@
programs.git = {
enable = true;
settings = {
user = {
name = "Aloys23";
@@ -57,8 +56,14 @@
};
};
programs.neovim = {
enable = true;
withRuby = false;
withPython3 = false;
};
# 这个版本号不要改!它不是软件版本,而是系统状态标识
home.stateVersion = "23.11";
home.stateVersion = "25.11";
# 让 Home Manager 管理自己