Skip to content

everviolet/nix

Logo
Evergarden for Nix

Usage

flakes

  1. Add the flake
{
  inputs = {
    evergarden.url = "github:everviolet/nix";
  };
}
  1. 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
  ];
}
  1. 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

  1. Add the repo
{
  evergarden = builtins.fetchTarball {
    url = "https://github.com/everviolet/nix/archive/main.tar.gz";
    sha256 = "fill-in-the-sha256-hash";
  };
}
  1. 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; })
  ];
}
  1. 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;
  };
}

Thanks to <3


About

❄️ cozy evergarden theme for nix

Topics

Resources

License

GPL-3.0, MIT licenses found

Licenses found

GPL-3.0
LICENSE
MIT
LICENSE-CTP

Code of conduct

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages