docs: correct use of modules
over imports
This commit is contained in:
parent
07e54f5b3c
commit
b0617ee158
1 changed files with 7 additions and 6 deletions
13
README.md
13
README.md
|
@ -64,7 +64,8 @@
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.users.user = {
|
home-manager.users.user = {
|
||||||
modules = [
|
imports = [
|
||||||
|
./home.nix
|
||||||
catppuccin.homeManagerModules.catppuccin
|
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):
|
For [NixOS module installations](https://nix-community.github.io/home-manager/index.html#sec-install-nixos-module):
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
_: {
|
{
|
||||||
imports = [
|
imports = [
|
||||||
<home-manager/nixos>
|
<home-manager/nixos>
|
||||||
<catppuccin/modules/nixos>
|
<catppuccin/modules/nixos>
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.user = {
|
home-manager.users.user = {
|
||||||
modules = [
|
imports = [
|
||||||
<catppuccin/modules/home-manager>
|
<catppuccin/modules/home-manager>
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -115,7 +116,7 @@ _: {
|
||||||
For [standalone installations](https://nix-community.github.io/home-manager/index.html#sec-install-standalone)
|
For [standalone installations](https://nix-community.github.io/home-manager/index.html#sec-install-standalone)
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
_: {
|
{
|
||||||
imports = [
|
imports = [
|
||||||
<catppuccin/modules/home-manager>
|
<catppuccin/modules/home-manager>
|
||||||
];
|
];
|
||||||
|
@ -131,7 +132,7 @@ _: {
|
||||||
2. Choose your desired flavour with `catppuccin.flavour`
|
2. Choose your desired flavour with `catppuccin.flavour`
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
_: {
|
{
|
||||||
catppuccin.flavour = "mocha";
|
catppuccin.flavour = "mocha";
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -139,7 +140,7 @@ _: {
|
||||||
3. Enable for supported programs with `catppucin.enable = true;`
|
3. Enable for supported programs with `catppucin.enable = true;`
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
_: {
|
{
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
catppuccin.enable = true;
|
catppuccin.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue