mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-17 21:51:03 +01:00
Catppuccin's home-manager module writes extra-substituters/extra-trusted-public-keys for catppuccin.cachix.org into the user-level ~/.config/nix/nix.conf. Since the normal user is no longer a trusted-user (modules/base/nix.nix), Nix ignores those client-specified settings and warns on every command. The ports build locally, so turn the user-level cache off instead.
23 lines
811 B
Nix
23 lines
811 B
Nix
{ catppuccin, ... }:
|
|
{
|
|
# https://github.com/catppuccin/nix
|
|
imports = [
|
|
catppuccin.homeModules.catppuccin
|
|
];
|
|
|
|
catppuccin = {
|
|
# The default `enable` value for all available programs.
|
|
enable = true;
|
|
# Enroll every supported port (catppuccin/nix >= main behaviour).
|
|
autoEnable = true;
|
|
# Catppuccin's ports build locally, and the user-level cache entry this
|
|
# adds to ~/.config/nix/nix.conf would be ignored (with a warning) now that
|
|
# the normal user is not a trusted-user. See modules/base/nix.nix.
|
|
cache.enable = false;
|
|
# one of "latte", "frappe", "macchiato", "mocha"
|
|
flavor = "mocha";
|
|
# one of "blue", "flamingo", "green", "lavender", "maroon", "mauve", "peach", "pink", "red", "rosewater", "sapphire", "sky", "teal", "yellow"
|
|
accent = "pink";
|
|
};
|
|
}
|