feat: add blackbox config and remove vscodium

This commit is contained in:
Jo 2024-12-24 16:56:28 +01:00
parent 2de665b3c6
commit d543faff8c
3 changed files with 29 additions and 31 deletions

View file

@ -1,26 +0,0 @@
{
pkgs,
...
}: {
programs.vscode = {
enable = true;
package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [
# wakatime.vscode-wakatime # Wakatime for coding statistics
vue.volar # Vue support
svelte.svelte-vscode # Svelte support
pkief.material-icon-theme # Material icons
prisma.prisma
ms-python.vscode-pylance # Python support
ms-dotnettools.csharp # CSharp support
mikestead.dotenv # Improved dotenv support
catppuccin.catppuccin-vsc # Catppuccin theme
jnoortheen.nix-ide # Nix language support
];
userSettings = {
"nix.enableLanguageServer" = true;
"nix.serverPath" = "nil";
"workbench.colorTheme" = "Catppuccin Macchiato";
};
};
}

View file

@ -5,11 +5,12 @@
...
}: with lib; with lib.${namespace};
{
imports = [
./apps/vscodium.nix
];
themes.catppuccin.gtk.enable = true;
puzzlevision = {
themes.catppuccin = {
gtk.enable = true;
black-box.enable = true;
};
};
home.file."~/.config/Yubico/u2f_keys".text = ''
jo:gtKwCQKVw5O4IkWg8J8o7vHIo3hStmOqVcnmk97E335DwHnPUMIDTMnD46qEn/1tucTZlYfGABfzVVG+iYeUOA==,fVRFZb9iBiqjOXvk5Gm9ygO/O4huEUR1Uq3DGBlnS1RtqqK0shif8aOlNLkmn8Xe9+x4HYIeNEX4fc8Z7Y2Hgw==,es256,+presence

View file

@ -0,0 +1,23 @@
{
lib,
config,
namespace,
...
}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.${namespace}.themes.catppuccin.black-box;
in
{
options.${namespace}.themes.catppuccin.black-box = {
enable = mkEnableOption "Whether to enable the catppuccin theme for black-box.";
};
config = mkIf cfg.enable {
dconf.settings = {
"com/raggesilver/BlackBox" = {
theme-dark = "Catppuccin Macchiato";
};
};
};
}