Compare commits
7 commits
6c14f4d0aa
...
7505ddccb3
| Author | SHA1 | Date | |
|---|---|---|---|
| 7505ddccb3 | |||
| 4f5a944834 | |||
| 10fc83b906 | |||
| a4ecb63da6 | |||
| 36928939d5 | |||
| 7e3dc3cb97 | |||
| 4dd3b646f2 |
4 changed files with 43 additions and 8 deletions
23
roles/common/programs/bat.nix
Normal file
23
roles/common/programs/bat.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -11,10 +11,12 @@
|
|||
./bash.nix
|
||||
./git.nix
|
||||
./starship.nix
|
||||
./bat.nix
|
||||
];
|
||||
# Some programs dont have a programs.*.enable option, so I install their package here
|
||||
environment.systemPackages = with pkgs; [
|
||||
speedtest-cli
|
||||
# Bat has a home manager module, but I want it to be available system wide
|
||||
bat
|
||||
file
|
||||
nvd
|
||||
|
|
|
|||
|
|
@ -142,10 +142,13 @@ in
|
|||
};
|
||||
};
|
||||
configFile = {
|
||||
"kwinrc"."Desktops" = {
|
||||
"kwinrc" = {
|
||||
"Desktops" = {
|
||||
"Number" = 2;
|
||||
"Rows" = 1;
|
||||
};
|
||||
"TabBox"."LayoutName" = "thumbnail_grid";
|
||||
};
|
||||
};
|
||||
};
|
||||
}];
|
||||
|
|
|
|||
|
|
@ -1,15 +1,22 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
with pkgs;
|
||||
{
|
||||
environment.systemPackages = with pkgs; with jetbrains; [
|
||||
environment.systemPackages = with jetbrains; [
|
||||
idea-ultimate
|
||||
];
|
||||
|
||||
home-manager.users.toast = {
|
||||
# Install plugins
|
||||
home.file.".local/share/JetBrains/IntelliJIdea2023.2/catppuccin.jar".source = builtins.fetchurl {
|
||||
url = "https://github.com/catppuccin/jetbrains/releases/download/v2.2.0/Catppuccin.Theme-2.2.0.jar";
|
||||
sha256 = "143jrhdfg7q24mnnzgqwgxq4glsxznxc6awcifpghr9q6nw1hfi0";
|
||||
home.file = {
|
||||
".local/share/JetBrains/IntelliJIdea2023.2/catppuccin.jar".source = fetchurl {
|
||||
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";
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue