fix: programs.home-manager.enable is useless when use hm as a nixos module

This commit is contained in:
Ryan Yin 2025-05-29 11:35:40 +08:00
parent 39dbc52f3c
commit 34fc63ca3a
2 changed files with 0 additions and 6 deletions

View File

@ -165,9 +165,6 @@ Here's an example of its contents:
# the home Manager release notes for a list of state version # the home Manager release notes for a list of state version
# changes in each release. # changes in each release.
home.stateVersion = "24.11"; home.stateVersion = "24.11";
# Let home Manager install and manage itself.
programs.home-manager.enable = true;
} }
``` ```

View File

@ -164,9 +164,6 @@ manager 作为 NixOS 模块安装,首先需要创建 `/etc/nixos/home.nix`
# the Home Manager release notes for a list of state version # the Home Manager release notes for a list of state version
# changes in each release. # changes in each release.
home.stateVersion = "24.11"; home.stateVersion = "24.11";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
} }
``` ```