mirror of
https://github.com/nix-community/home-manager
synced 2024-12-21 01:09:47 +01:00
docs: fix typo in nix-darwin flake
The nix-darwin documentation uses `darwin` not `nix-darwin` to refer to its own flake, and so this is now consistent (and correct) and uses `darwin`.
This commit is contained in:
parent
223b9deead
commit
da55d18ba2
1 changed files with 3 additions and 3 deletions
|
@ -191,15 +191,15 @@ is similar to that of NixOS. The `flake.nix` would be:
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
nix-darwin.url = "github:lnl7/nix-darwin";
|
darwin.url = "github:lnl7/nix-darwin";
|
||||||
darwin.inputs.nixpkgs.follows = "nixpkgs";
|
darwin.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
home-manager.url = "github:nix-community/home-manager";
|
home-manager.url = "github:nix-community/home-manager";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs@{ nixpkgs, home-manager, nix-darwin, ... }: {
|
outputs = inputs@{ nixpkgs, home-manager, darwin, ... }: {
|
||||||
darwinConfigurations = {
|
darwinConfigurations = {
|
||||||
hostname = nix-darwin.lib.darwinSystem {
|
hostname = darwin.lib.darwinSystem {
|
||||||
system = "x86_64-darwin";
|
system = "x86_64-darwin";
|
||||||
modules = [
|
modules = [
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
|
|
Loading…
Reference in a new issue