hmmmmmmmmmmmmmmmmm massive changes, forgor to commit whoops

This commit is contained in:
Serenity-F 2024-04-05 02:51:39 +10:00
parent aa3ed551d2
commit 02e133d48c
48 changed files with 1410 additions and 255 deletions

View file

@ -0,0 +1,14 @@
{ pkgs, ... }:
{
programs.btop = {
enable = true;
settings = {
color_theme = "dracula";
theme_background = false;
update_ms = 500;
};
};
home.packages = (with pkgs; [ nvtopPackages.intel ]);
}

View file

@ -0,0 +1,9 @@
{ pkgs, ... }:
{
imports = [ (import ./theme-template.nix) ];
home.packages = with pkgs; [
(discord.override {
withVencord = true;
})
];
}

View file

@ -0,0 +1,15 @@
{
xdg.configFile."Vencord/themes/custom.css".text = ''
/**
* @name Catppuccin Mocha
* @author winston#0001
* @authorId 505490445468696576
* @version 0.2.0
* @description 🎮 Soothing pastel theme for Discord
* @website https://github.com/catppuccin/discord
* @invite r6Mdz5dpFc
* **/
@import url("https://catppuccin.github.io/discord/dist/catppuccin-mocha.theme.css");
'';
}

View file

@ -0,0 +1,7 @@
{ ... }:
{
}

View file

@ -0,0 +1,27 @@
{ pkgs, config, inputs, ... }:
{
home.packages = with pkgs;[
## Utils
gamemode
gamescope
winetricks
inputs.nix-gaming.packages.${pkgs.system}.wine-ge
## Cli games
_2048-in-terminal
vitetris
nethack
## Celeste
celeste-classic
celeste-classic-pm
## Doom
# gzdoom
crispy-doom
## Emulation
# cemu
# dolphin-emu
];
}

View file

@ -0,0 +1,21 @@
{ pkgs, lib, ... }:
{
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = false;
};
programs.gamemode.enable = true;
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-runtime"
];
# proton-ge-bin
# warning: The package proton-ge in nix-gaming has been deprecated as of 2024-03-17.
# You should use proton-ge-bin from Nixpkgs, which conforms to
# the new `extraCompatTools` module option under `programs.steam`
# For details, see the relevant pull request:
}

View file

@ -0,0 +1,16 @@
{ pkgs, ... }:
{
programs.git = {
enable = true;
userName = "serenity-F";
userEmail = "serenity-amalgam@protonmail.com";
extraConfig = {
init.defaultBranch = "main";
};
};
}

View file

@ -0,0 +1,45 @@
{ pkgs, ... }:
{
fonts.fontconfig.enable = true;
home.packages = [
pkgs.nerdfonts
(pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
pkgs.twemoji-color-font
pkgs.noto-fonts-emoji
];
gtk = {
enable = true;
font = {
name = "JetBrainsMono Nerd Font";
size = 11;
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.catppuccin-papirus-folders.override {
flavor = "mocha";
accent = "lavender";
};
};
theme = {
name = "Catppuccin-Mocha-Compact-Lavender-Dark";
package = pkgs.catppuccin-gtk.override {
accents = [ "lavender" ];
size = "compact";
# tweaks = [ "rimless" ];
variant = "mocha";
};
};
cursorTheme = {
name = "Nordzy-cursors";
package = pkgs.nordzy-cursor-theme;
size = 22;
};
};
home.pointerCursor = {
name = "Nordzy-cursors";
package = pkgs.nordzy-cursor-theme;
size = 22;
};
}

View file

@ -0,0 +1,45 @@
{ pkgs, ... }:
{
programs.kitty = {
enable = true;
theme = "Catppuccin-Mocha";
font = {
name = "JetBrainsMono Nerd Font";
size = 13;
};
settings = {
confirm_os_window_close = 0;
background_opacity = "0.55";
window_padding_width = 10;
scrollback_lines = 10000;
enable_audio_bell = false;
mouse_hide_wait = 60;
## Tabs
tab_title_template = "{index}";
active_tab_font_style = "normal";
inactive_tab_font_style = "normal";
tab_bar_style = "powerline";
tab_powerline_style = "round";
active_tab_foreground = "#1e1e2e";
active_tab_background = "#cba6f7";
inactive_tab_foreground = "#bac2de";
inactive_tab_background = "#313244";
};
keybindings = {
## Tabs
"alt+1" = "goto_tab 1";
"alt+2" = "goto_tab 2";
"alt+3" = "goto_tab 3";
"alt+4" = "goto_tab 4";
## Unbind
"ctrl+shift+left" = "no_op";
"ctrl+shift+right" = "no_op";
};
};
}

View file

@ -0,0 +1,7 @@
{ ... }:
{
}

View file

@ -0,0 +1,41 @@
{ lib, inputs, ... }:
{
programs.starship = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
enableNushellIntegration = true;
settings = {
right_format = "$cmd_duration";
directory = {
format = "[ ](bold #89b4fa)[ $path ]($style)";
style = "bold #b4befe";
};
character = {
success_symbol = "[ ](bold #89b4fa)[ ➜](bold green)";
error_symbol = "[ ](bold #89b4fa)[ ➜](bold red)";
# error_symbol = "[ ](bold #89dceb)[ ✗](bold red)";
};
cmd_duration = {
format = "[]($style)[[󰔚 ](bg:#161821 fg:#d4c097 bold)$duration](bg:#161821 fg:#BBC3DF)[ ]($style)";
disabled = false;
style = "bg:none fg:#161821";
};
# directory.substitutions = {
# "~" = "󰋞";
# "Documents" = " ";
# "Downloads" = " ";
# "Music" = " ";
# "Pictures" = " ";
# };
palette = "catppuccin_mocha";
} // builtins.fromTOML (builtins.readFile "${inputs.catppuccin-starship}/palettes/mocha.toml");
};
}

View file

@ -0,0 +1,100 @@
{ pkgs, ... }:
{
programs.vscode = {
enable = true;
package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [
# nix language
bbenoist.nix
# nix-shell suport
arrterian.nix-env-selector
# python
ms-python.python
# C/C++
ms-vscode.cpptools
# OCaml
ocamllabs.ocaml-platform
# Color theme
catppuccin.catppuccin-vsc
catppuccin.catppuccin-vsc-icons
];
userSettings = {
"update.mode" = "none";
"extensions.autoUpdate" = false; # This stuff fixes vscode freaking out when theres an update
"window.titleBarStyle" = "custom"; # needed otherwise vscode crashes, see https://github.com/NixOS/nixpkgs/issues/246509
"window.menuBarVisibility" = "toggle";
"editor.fontFamily" = "'JetBrainsMono Nerd Font', 'SymbolsNerdFont', 'monospace', monospace";
"terminal.integrated.fontFamily" = "'JetBrainsMono Nerd Font', 'SymbolsNerdFont'";
"editor.fontSize" = 16;
"workbench.colorTheme" = "Catppuccin Mocha";
"workbench.iconTheme" = "catppuccin-mocha";
"vsicons.dontShowNewVersionMessage" = true;
"explorer.confirmDragAndDrop" = false;
"editor.fontLigatures" = true;
"editor.minimap.enabled" = false;
"workbench.startupEditor" = "none";
"editor.formatOnSave" = true;
"editor.formatOnType" = true;
"editor.formatOnPaste" = true;
"workbench.layoutControl.type" = "menu";
"workbench.editor.limit.enabled" = true;
"workbench.editor.limit.value" = 10;
"workbench.editor.limit.perEditorGroup" = true;
"workbench.editor.showTabs" = "single";
"files.autoSave" = "onWindowChange";
"explorer.openEditors.visible" = 0;
"breadcrumbs.enabled" = false;
"editor.renderControlCharacters" = false;
"workbench.activityBar.location" = "hidden";
"workbench.statusBar.visible" = false;
"editor.scrollbar.verticalScrollbarSize" = 2;
"editor.scrollbar.horizontalScrollbarSize" = 2;
"editor.scrollbar.vertical" = "hidden";
"editor.scrollbar.horizontal" = "hidden";
"workbench.layoutControl.enabled" = false;
"editor.mouseWheelZoom" = true;
"C_Cpp.autocompleteAddParentheses" = true;
"C_Cpp.formatting" = "vcFormat";
"C_Cpp.vcFormat.newLine.closeBraceSameLine.emptyFunction" = true;
"C_Cpp.vcFormat.newLine.closeBraceSameLine.emptyType" = true;
"C_Cpp.vcFormat.space.beforeEmptySquareBrackets" = true;
"C_Cpp.vcFormat.newLine.beforeOpenBrace.block" = "sameLine";
"C_Cpp.vcFormat.newLine.beforeOpenBrace.function" = "sameLine";
"C_Cpp.vcFormat.newLine.beforeElse" = false;
"C_Cpp.vcFormat.newLine.beforeCatch" = false;
"C_Cpp.vcFormat.newLine.beforeOpenBrace.type" = "sameLine";
"C_Cpp.vcFormat.space.betweenEmptyBraces" = true;
"C_Cpp.vcFormat.space.betweenEmptyLambdaBrackets" = true;
"C_Cpp.vcFormat.indent.caseLabels" = true;
"C_Cpp.intelliSenseCacheSize" = 2048;
"C_Cpp.intelliSenseMemoryLimit" = 2048;
"C_Cpp.default.browse.path" = [
''''${workspaceFolder}/**''
];
"C_Cpp.default.cStandard" = "gnu11";
"C_Cpp.inlayHints.parameterNames.hideLeadingUnderscores" = false;
"C_Cpp.intelliSenseUpdateDelay" = 500;
"C_Cpp.workspaceParsingPriority" = "medium";
"C_Cpp.clang_format_sortIncludes" = true;
"C_Cpp.doxygen.generatedStyle" = "/**";
};
# Keybindings
keybindings = [
{
key = "ctrl+q";
command = "editor.action.commentLine";
when = "editorTextFocus && !editorReadonly";
}
{
key = "ctrl+s";
command = "workbench.action.files.saveFiles";
}
];
};
}