Compare commits

..

7 commits

4 changed files with 43 additions and 8 deletions

View file

@ -0,0 +1,23 @@
{ config, pkgs, ... }:
{
home-manager = {
users.toast.programs.bat = {
enable = true;
config = {
theme = "catppuccin-mocha";
};
themes = {
catppuccin-mocha = {
src = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "bat";
rev = "master";
hash = "sha256-6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw=";
};
file = "Catppuccin-mocha.tmTheme";
};
};
};
};
}

View file

@ -11,10 +11,12 @@
./bash.nix ./bash.nix
./git.nix ./git.nix
./starship.nix ./starship.nix
./bat.nix
]; ];
# Some programs dont have a programs.*.enable option, so I install their package here # Some programs dont have a programs.*.enable option, so I install their package here
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
speedtest-cli speedtest-cli
# Bat has a home manager module, but I want it to be available system wide
bat bat
file file
nvd nvd

View file

@ -142,9 +142,12 @@ in
}; };
}; };
configFile = { configFile = {
"kwinrc"."Desktops" = { "kwinrc" = {
"Number" = 2; "Desktops" = {
"Rows" = 1; "Number" = 2;
"Rows" = 1;
};
"TabBox"."LayoutName" = "thumbnail_grid";
}; };
}; };
}; };

View file

@ -1,15 +1,22 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
with pkgs;
{ {
environment.systemPackages = with pkgs; with jetbrains; [ environment.systemPackages = with jetbrains; [
idea-ultimate idea-ultimate
]; ];
home-manager.users.toast = { home-manager.users.toast = {
# Install plugins # Install plugins
home.file.".local/share/JetBrains/IntelliJIdea2023.2/catppuccin.jar".source = builtins.fetchurl { home.file = {
url = "https://github.com/catppuccin/jetbrains/releases/download/v2.2.0/Catppuccin.Theme-2.2.0.jar"; ".local/share/JetBrains/IntelliJIdea2023.2/catppuccin.jar".source = fetchurl {
sha256 = "143jrhdfg7q24mnnzgqwgxq4glsxznxc6awcifpghr9q6nw1hfi0"; url = "https://github.com/catppuccin/jetbrains/releases/download/v3.0.0/Catppuccin.Theme-3.0.0.jar";
hash = "sha256-tbcUtqA8wo9ZLjfkziRZiDTN748qWQ26A80pIJrTYuM";
};
".local/share/JetBrains/IntelliJIdea2023.2/rainbow-brackets".source = fetchzip {
url = "https://github.com/izhangzhihao/intellij-rainbow-brackets/releases/download/2023.3.6/intellij-rainbow-brackets-2023.3.6.zip";
hash = "sha256-ZoBVRPZZn8QjXSLtskRtSpGoadc8KNKxsKvdcyNXT74";
};
}; };
/* /*