mirror of
https://github.com/ryan4yin/nixos-and-flakes-book
synced 2024-11-26 22:10:26 +00:00
fix: broken url 'Home Manager Manual'
This commit is contained in:
parent
fa524ac6fa
commit
6c19122dbc
2 changed files with 2 additions and 4 deletions
|
@ -1,9 +1,8 @@
|
|||
|
||||
## Start using home-manager
|
||||
|
||||
As I mentioned earlier, NixOS can only manage system-level configuration, to manage the Home directory(user-level configuration), we need to install home-manager.
|
||||
|
||||
According to the official document [Home Manager Manual](https://nix-community.github.io/home-manager/index.htm), in order to install home-manager as a module of NixOS, we need to create `/etc/nixos/home.nix` first, an example content shown below:
|
||||
According to the official document [Home Manager Manual](https://nix-community.github.io/home-manager/index.html), in order to install home-manager as a module of NixOS, we need to create `/etc/nixos/home.nix` first, an example content shown below:
|
||||
|
||||
```nix
|
||||
{ config, pkgs, ... }:
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
## 安装使用 Home Manager
|
||||
|
||||
|
||||
前面简单提过,NixOS 自身的配置文件只能管理系统级别的配置,而用户级别的配置则需要使用 home-manager 来管理。
|
||||
|
||||
根据官方文档 [Home Manager Manual](https://nix-community.github.io/home-manager/index.htm),要将 home manager 作为 NixOS 模块安装,首先需要创建 `/etc/nixos/home.nix`,配置方法如下:
|
||||
根据官方文档 [Home Manager Manual](https://nix-community.github.io/home-manager/index.html),要将 home manager 作为 NixOS 模块安装,首先需要创建 `/etc/nixos/home.nix`,配置方法如下:
|
||||
|
||||
```nix
|
||||
{ config, pkgs, ... }:
|
||||
|
|
Loading…
Reference in a new issue