❄️ cozy evergarden theme for nix
- Nix 99.2%
- Shell 0.7%
- Just 0.1%
|
|
||
|---|---|---|
| _sources | halloy: init | |
| lib | chore: update cherry color | |
| modules | halloy: init | |
| pkgs | chore: update github links to codeberg | |
| .envrc | feat(nix): add devshell | |
| .gitignore | home-manager/helix: init ( #2 ) | |
| default.nix | refactor: builders v2 | |
| flake.lock | flake: update inputs and sources | |
| flake.nix | nixos: add nixos modules | |
| justfile | fix(justfile): wrap variable | |
| LICENSE | feat: init | |
| LICENSE-CTP | chore: add catppuccin license; sowwy :3 | |
| nvfetcher.toml | halloy: init | |
| README.md | chore: update github links to codeberg | |
Logo
Evergarden for Nix
Usage
flakes
- Add the flake
{
inputs = {
evergarden.url = "https://codeberg.org/evergarden/nix/archive/main.tar.gz";
};
}
- Add the modules you need
{ inputs, ... }:
{
# you should only import these if you're system type allows for it
imports = [
inputs.evergarden.nixosModules.default
inputs.evergarden.darwinModules.default
inputs.evergarden.homeManagerModules.default
];
}
- Enable the modules you want
{
evergarden = {
enable = true; # enable all modules
variant = "winter";
accent = "red";
# you can also specifically disable modules
alacritty.enable = false;
# enable the cache
cache.enable = true;
};
}
classic nix
- Add the repo
{
evergarden = builtins.fetchTarball {
url = "https://codeberg.org/evergarden/nix/archive/main.tar.gz";
sha256 = "fill-in-the-sha256-hash";
};
}
- Add the modules you need
{ lib, ... }:
let
# assumeing we have access to the evergarden from the previous step
evgLib = import "${evergarden}/lib/default.nix" { inherit lib; };
in
{
# you should only import these if you're system type allows for it
imports = [
(import "${evergarden}/modules/home-manager/default.nix" { inherit evgLib; })
];
}
- Enable the modules you want
{
evergarden = {
enable = true; # enable all modules
variant = "winter";
accent = "red";
# you can also specifically disable modules
alacritty.enable = false;
# enable the cache
cache.enable = true;
};
}