mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2025-06-21 12:31:42 +02:00
fix: programs.home-manager.enable is useless when use hm as a nixos module
This commit is contained in:
parent
39dbc52f3c
commit
34fc63ca3a
@ -165,9 +165,6 @@ Here's an example of its contents:
|
||||
# the home Manager release notes for a list of state version
|
||||
# changes in each release.
|
||||
home.stateVersion = "24.11";
|
||||
|
||||
# Let home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -164,9 +164,6 @@ manager 作为 NixOS 模块安装,首先需要创建 `/etc/nixos/home.nix`,
|
||||
# the Home Manager release notes for a list of state version
|
||||
# changes in each release.
|
||||
home.stateVersion = "24.11";
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user