refactor: move neovim to home-manager, add nix.gc, bump home.stateVersion to 25.11
This commit is contained in:
+6
-2
@@ -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
|
||||
];
|
||||
};
|
||||
|
||||
@@ -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 管理自己
|
||||
|
||||
Reference in New Issue
Block a user