From b0617ee15823b5aa3a1d0b66ac5d6fcd397fca00 Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 16 Dec 2023 18:45:45 -0500 Subject: [PATCH] docs: correct use of `modules` over `imports` --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 18dc874..96ad60d 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,8 @@ home-manager.nixosModules.home-manager { home-manager.users.user = { - modules = [ + imports = [ + ./home.nix catppuccin.homeManagerModules.catppuccin ]; }; @@ -97,14 +98,14 @@ sudo nix-channel --update For [NixOS module installations](https://nix-community.github.io/home-manager/index.html#sec-install-nixos-module): ```nix -_: { +{ imports = [ ]; home-manager.users.user = { - modules = [ + imports = [ ]; }; @@ -115,7 +116,7 @@ _: { For [standalone installations](https://nix-community.github.io/home-manager/index.html#sec-install-standalone) ```nix -_: { +{ imports = [ ]; @@ -131,7 +132,7 @@ _: { 2. Choose your desired flavour with `catppuccin.flavour` ```nix -_: { +{ catppuccin.flavour = "mocha"; } ``` @@ -139,7 +140,7 @@ _: { 3. Enable for supported programs with `catppucin.enable = true;` ```nix -_: { +{ programs.starship = { enable = true; catppuccin.enable = true;