-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
1,417 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Contributing | ||
|
||
`catppuccin/nix` is an open source, [MIT licensed](https://github.com/catppuccin/nix/blob/main/LICENSE) project. Contributions - including bug reports, feature requests, and improvements - can be made on our [GitHub repository](https://github.com/catppuccin/nix). | ||
|
||
If you are interested in hacking away at our modules, make sure to read our [Contributing guidelines](https://github.com/catppuccin/nix/blob/main/CONTRIBUTING.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
# Hello world! | ||
# catppuccin/nix | ||
|
||
TODO | ||
*The soothing pastel theme - now for Nix!* | ||
|
||
Built on top of [NixOS](https://nixos.org) and [home-manager](https://github.com/nix-community/home-manager), `catppuccin/nix` allows you to easily use Catppuccin across all of your apps! | ||
|
||
## What you'll find here | ||
|
||
You should first check out our [Getting started](getting-started) guide. Once you're done, you can take a look at all of our available options: | ||
|
||
- [For NixOS](options/nixos-options.md) | ||
- [For home-manager](options/home-manager-options.md) | ||
|
||
## Find a problem? | ||
|
||
Feel free to [open an issue!](https://github.com/catppuccin/nix/issues/new) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# FAQ | ||
|
||
- Q: **"How do I know what programs are supported?"**\ | ||
A: You can find programs supported through home-manager [here](options/home-manager-options.md), | ||
and NixOS modules [here](options/nixos-options.md) | ||
|
||
- Q: **"How do I set `catppuccin.enable` for everything I use?"**\ | ||
A: You can set `catppuccin.enable` [globally](options/nixos-options.md#catppuccinenable) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Getting started | ||
|
||
`catppuccin/nix` supports both stable Nix and [Flakes](https://wiki.nixos.org/wiki/Flakes)! Select one of the options below based on what you want to use. | ||
|
||
- [Stable Nix](stable-nix.md) | ||
- [Flakes](flakes.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
# Flakes | ||
|
||
Flakes are the preferred way to to use `catppuccin/nix` and will be the easiest method for those with them enabled | ||
|
||
|
||
First, we need to add this project to our inputs so we can use it in our configurations: | ||
|
||
```nix | ||
{ | ||
inputs = { | ||
nixpkgs.url = "nixpkgs/nixos-unstable"; | ||
catppuccin.url = "github:catppuccin/nix"; | ||
}; | ||
} | ||
``` | ||
|
||
After, we can use them in a NixOS configuration like so | ||
|
||
```nix | ||
{ | ||
nixosConfigurations.pepperjacksComputer = { | ||
system = "x86_64-linux"; | ||
modules = [ | ||
catppuccin.nixosModules.catppuccin | ||
# if you use home-manager | ||
home-manager.nixosModules.home-manager | ||
{ | ||
# if you use home-manager | ||
home-manager.users.pepperjack = { | ||
imports = [ | ||
./home.nix | ||
catppuccin.homeManagerModules.catppuccin | ||
]; | ||
}; | ||
} | ||
]; | ||
}; | ||
} | ||
``` | ||
|
||
or if you use a [standalone installation](https://nix-community.github.io/home-manager/index.html#sec-install-standalone) of `home-manager` | ||
|
||
```nix | ||
{ | ||
homeConfigurations.pepperjack = home-manager.lib.homeManagerConfiguration { | ||
pkgs = nixpkgs.legacyPackages.x86_64-linux; | ||
modules = [ | ||
./home.nix | ||
catppuccin.homeManagerModules.catppuccin | ||
]; | ||
}; | ||
} | ||
``` | ||
|
||
By the end, you should have a flake.nix that looks something like this | ||
```nix | ||
{ | ||
inputs = { | ||
nixpkgs.url = "nixpkgs/nixos-unstable"; | ||
catppuccin.url = "github:catppuccin/nix"; | ||
home-manager = { | ||
url = "github:nix-community/home-manager"; | ||
inputs.nixpkgs.follows = "nixpkgs"; | ||
}; | ||
}; | ||
outputs = { nixpkgs, catppuccin, home-manager }: { | ||
# for nixos module home-manager installations | ||
nixosConfigurations.pepperjacksComputer = pkgs.lib.nixosSystem { | ||
system = "x86_64-linux"; | ||
modules = [ | ||
catppuccin.nixosModules.catppuccin | ||
# if you use home-manager | ||
home-manager.nixosModules.home-manager | ||
{ | ||
# if you use home-manager | ||
home-manager.users.pepperjack = { | ||
imports = [ | ||
./home.nix | ||
catppuccin.homeManagerModules.catppuccin | ||
]; | ||
}; | ||
} | ||
]; | ||
}; | ||
# for standalone home-manager installations | ||
homeConfigurations.pepperjack = home-manager.lib.homeManagerConfiguration { | ||
pkgs = nixpkgs.legacyPackages.x86_64-linux; | ||
modules = [ | ||
./home.nix | ||
catppuccin.homeManagerModules.catppuccin | ||
]; | ||
}; | ||
}; | ||
} | ||
```` |
Oops, something went wrong.