refactor: foldered a bunch of packages

This commit is contained in:
Nick 2024-11-20 17:47:07 -06:00
parent 18258dec54
commit 6196e80d62
27 changed files with 278 additions and 223 deletions

View file

@ -1,30 +0,0 @@
{
programs.bottom = {
enable = true;
settings = {
colors = {
tableHeaderColor = "#f4dbd6";
allCpuColor = "#f4dbd6";
avgCpuColor = "#ee99a0";
cpuCoreColors = ["#ed8796" "#f5a97f" "#eed49f" "#a6da95" "#7dc4e4" "#c6a0f6"];
ramColor = "#a6da95";
swapColor = "#f5a97f";
rxColor = "#a6da95";
txColor = "#ed8796";
widgetTitleColor = "#f0c6c6";
borderColor = "#5b6078";
highlightedBorderColor = "#f5bde6";
textColor = "#cad3f5";
graphColor = "#a5adcb";
cursorColor = "#f5bde6";
selectedTextColor = "#181926";
selectedBgColor = "#c6a0f6";
highBatteryColor = "#a6da95";
mediumBatteryColor = "#eed49f";
lowBatteryColor = "#ed8796";
gpuCoreColors = ["#7dc4e4" "#c6a0f6" "#ed8796" "#f5a97f" "#eed49f" "#a6da95"];
arcColor = "#91d7e3";
};
};
};
}

View file

@ -0,0 +1,27 @@
{
settings = {
colors = {
tableHeaderColor = "#f4dbd6";
allCpuColor = "#f4dbd6";
avgCpuColor = "#ee99a0";
cpuCoreColors = ["#ed8796" "#f5a97f" "#eed49f" "#a6da95" "#7dc4e4" "#c6a0f6"];
ramColor = "#a6da95";
swapColor = "#f5a97f";
rxColor = "#a6da95";
txColor = "#ed8796";
widgetTitleColor = "#f0c6c6";
borderColor = "#5b6078";
highlightedBorderColor = "#f5bde6";
textColor = "#cad3f5";
graphColor = "#a5adcb";
cursorColor = "#f5bde6";
selectedTextColor = "#181926";
selectedBgColor = "#c6a0f6";
highBatteryColor = "#a6da95";
mediumBatteryColor = "#eed49f";
lowBatteryColor = "#ed8796";
gpuCoreColors = ["#7dc4e4" "#c6a0f6" "#ed8796" "#f5a97f" "#eed49f" "#a6da95"];
arcColor = "#91d7e3";
};
};
}

View file

@ -0,0 +1,9 @@
{
programs.bottom = let
configPath = ./config;
in
{
enable = true;
}
// (import (configPath + /settings.nix));
}

View file

@ -1,13 +0,0 @@
{
programs.brave = {
enable = true;
extensions = [
{id = "cjpalhdlnbpafiamejdnhcphjbkeiagm";} # uBlock Origin
{id = "cmpdlhmnmjhihmcfnigoememnffkimlk";} # Catppuccin Macchiato
{id = "dlnpfhfhmkiebpnlllpehlmklgdggbhn";} # Don't Close Last Tab
{id = "iplffkdpngmdjhlpjmppncnlhomiipha";} # Unpaywall
{id = "mnjggcdmjocbbbhaepdhchncahnbgone";} # SponsorBlock
{id = "ponfpcnoihfmfllpaingbgckeeldkhle";} # YouTube Enhancer
];
};
}

View file

@ -0,0 +1,10 @@
{
extensions = [
{id = "cjpalhdlnbpafiamejdnhcphjbkeiagm";} # uBlock Origin
{id = "cmpdlhmnmjhihmcfnigoememnffkimlk";} # Catppuccin Macchiato
{id = "dlnpfhfhmkiebpnlllpehlmklgdggbhn";} # Don't Close Last Tab
{id = "iplffkdpngmdjhlpjmppncnlhomiipha";} # Unpaywall
{id = "mnjggcdmjocbbbhaepdhchncahnbgone";} # SponsorBlock
{id = "ponfpcnoihfmfllpaingbgckeeldkhle";} # YouTube Enhancer
];
}

View file

@ -0,0 +1,9 @@
{
programs.brave = let
configPath = ./config;
in
{
enable = true;
}
// (import (configPath + /extensions.nix));
}

View file

@ -1,49 +0,0 @@
{
programs.freetube = {
enable = true;
settings = {
allSettingsSectionsExpandedByDefault = false;
barColor = false;
baseTheme = "catppuccinMocha";
bounds = {
x = 880;
y = 221;
width = 1200;
height = 800;
maximized = false;
fullScreen = false;
};
defaultQuality = "1080";
downloadAskPath = false;
downloadBehavior = "download";
downloadFolderPath = "/home/nick/Downloads/FreeTube";
expandSideBar = true;
externalPlayer = "mpv";
hideActiveSubscriptions = false;
hideCommentLikes = true;
hideCommentPhotos = true;
hideHeaderLogo = true;
hideLabelsSideBar = true;
hidePlaylists = true;
hidePopularVideos = true;
hideRecommendedVideos = true;
hideSubscriptionsShorts = false;
hideSubscriptionsVideos = false;
hideTrendingVideos = true;
hideVideoLikesAndDislikes = true;
mainColor = "CatppuccinMochaMauve";
maxVideoPlaybackRate = 10;
playNextVideo = false;
quickBookmarkTargetPlaylistId = "favorites";
rememberHistory = false;
saveWatchedProgress = false;
secColor = "CatppuccinMochaLavender";
useDeArrowThumbnails = true;
useDeArrowTitles = true;
useSponsorBlock = true;
defaultTheatreMode = true;
listType = "grid";
currentLocale = "en_GB";
};
};
}

View file

@ -0,0 +1,46 @@
{
settings = {
allSettingsSectionsExpandedByDefault = false;
barColor = false;
baseTheme = "catppuccinMocha";
bounds = {
x = 880;
y = 221;
width = 1200;
height = 800;
maximized = false;
fullScreen = false;
};
defaultQuality = "1080";
downloadAskPath = false;
downloadBehavior = "download";
downloadFolderPath = "/home/nick/Downloads/FreeTube";
expandSideBar = true;
externalPlayer = "mpv";
hideActiveSubscriptions = false;
hideCommentLikes = true;
hideCommentPhotos = true;
hideHeaderLogo = true;
hideLabelsSideBar = true;
hidePlaylists = true;
hidePopularVideos = true;
hideRecommendedVideos = true;
hideSubscriptionsShorts = false;
hideSubscriptionsVideos = false;
hideTrendingVideos = true;
hideVideoLikesAndDislikes = true;
mainColor = "CatppuccinMochaMauve";
maxVideoPlaybackRate = 10;
playNextVideo = false;
quickBookmarkTargetPlaylistId = "favorites";
rememberHistory = false;
saveWatchedProgress = false;
secColor = "CatppuccinMochaLavender";
useDeArrowThumbnails = true;
useDeArrowTitles = true;
useSponsorBlock = true;
defaultTheatreMode = true;
listType = "grid";
currentLocale = "en_GB";
};
}

View file

@ -0,0 +1,9 @@
{
programs.freetube = let
configPath = ./config;
in
{
enable = true;
}
// (import (configPath + /settings.nix));
}

View file

@ -1,57 +0,0 @@
{pkgs, ...}: {
programs.helix = {
enable = true;
package = pkgs.helix;
languages = {
language = [
{
auto-format = true;
formatter.command = "alejandra";
name = "nix";
}
{
auto-format = true;
formatter.command = "haskell";
name = "haskell";
}
{
auto-format = true;
formatter.command = "cssfmt";
name = "css";
}
{
auto-format = true;
formatter.command = "yuck";
name = "yuck";
}
{
auto-format = true;
formatter.command = "yamlfmt";
name = "yaml";
}
];
};
settings = {
editor = {
mouse = true;
auto-format = true;
auto-save = true;
line-number = "relative";
lsp = {
display-messages = true;
display-inlay-hints = true;
};
};
keys = {
normal = {
space = {
f = ":format";
q = ":q";
w = ":w";
};
};
};
theme = "catppuccin_macchiato";
};
};
}

View file

@ -0,0 +1,31 @@
{
languages = {
language = [
{
auto-format = true;
formatter.command = "alejandra";
name = "nix";
}
{
auto-format = true;
formatter.command = "haskell";
name = "haskell";
}
{
auto-format = true;
formatter.command = "cssfmt";
name = "css";
}
{
auto-format = true;
formatter.command = "yuck";
name = "yuck";
}
{
auto-format = true;
formatter.command = "yamlfmt";
name = "yaml";
}
];
};
}

View file

@ -0,0 +1,24 @@
{
settings = {
editor = {
mouse = true;
auto-format = true;
auto-save = true;
line-number = "relative";
lsp = {
display-messages = true;
display-inlay-hints = true;
};
};
keys = {
normal = {
space = {
f = ":format";
q = ":q";
w = ":w";
};
};
};
theme = "catppuccin_macchiato";
};
}

View file

@ -0,0 +1,11 @@
{pkgs, ...}: {
programs.helix = let
configPath = ./config;
in
{
enable = true;
package = pkgs.helix;
}
// (import (configPath + /languages.nix))
// (import (configPath + /settings.nix));
}

View file

@ -1,12 +0,0 @@
{
programs.starship = {
enable = true;
settings = {
add_newline = false;
character = {
success_symbol = "[ ](bold #8bd5ca)";
error_symbol = "[ ¬](bold #ee99a0)";
};
};
};
}

View file

@ -0,0 +1,9 @@
{
settings = {
add_newline = false;
character = {
success_symbol = "[ ](bold #8bd5ca)";
error_symbol = "[ ¬](bold #ee99a0)";
};
};
}

View file

@ -0,0 +1,9 @@
{
programs.starship = let
configPath = ./config;
in
{
enable = true;
}
// (import (configPath + /settings.nix));
}

View file

@ -4,13 +4,15 @@
... ...
}: { }: {
programs = { programs = {
vscode = vscode = let
configPath = ./config;
in
{ {
enable = true; enable = true;
package = pkgs.vscode; package = pkgs.vscode;
} }
// (import ./config/keybindings.nix) // (import (configPath + /keybindings.nix))
// (import ./config/extensions.nix) {inherit pkgs;} // (import (configPath + /extensions.nix)) {inherit pkgs;}
// (import ./config/userSettings.nix) {inherit pkgs lib;}; // (import (configPath + /userSettings.nix)) {inherit pkgs lib;};
}; };
} }

View file

@ -1,17 +0,0 @@
{
programs.wezterm = {
enable = true;
extraConfig = ''
return {
color_scheme = "Catppuccin Macchiato",
font_size = 10,
enable_tab_bar = false,
window_close_confirmation = 'NeverPrompt',
term = 'wezterm',
enable_wayland = false,
front_end = "WebGpu",
max_fps = 200
}
'';
};
}

View file

@ -0,0 +1,14 @@
{
extraConfig = ''
return {
color_scheme = "Catppuccin Macchiato",
font_size = 10,
enable_tab_bar = false,
window_close_confirmation = 'NeverPrompt',
term = 'wezterm',
enable_wayland = false,
front_end = "WebGpu",
max_fps = 200
}
'';
}

View file

@ -0,0 +1,9 @@
{
programs.wezterm = let
configPath = ./config;
in
{
enable = true;
}
// (import (configPath + /extraConfig.nix));
}

View file

@ -1,25 +0,0 @@
{
programs.yazi = {
enable = true;
enableNushellIntegration = true;
settings = {
log = {
enabled = false;
};
manager = {
show_hidden = true;
sort_by = "alphabetical";
sort_dir_first = true;
sort_reverse = false;
};
preview = {
tab_size = 2;
max_width = 1500;
max_height = 1000;
};
};
};
}
# Keymap
# https://github.com/sxyazi/yazi/blob/main/yazi-config/preset/keymap.toml

View file

@ -0,0 +1,18 @@
{
settings = {
log = {
enabled = false;
};
manager = {
show_hidden = true;
sort_by = "alphabetical";
sort_dir_first = true;
sort_reverse = false;
};
preview = {
tab_size = 2;
max_width = 1500;
max_height = 1000;
};
};
}

View file

@ -0,0 +1,12 @@
{
programs.yazi = let
configPath = ./config;
in
{
enable = true;
enableNushellIntegration = true;
}
// (import (configPath + /settings.nix));
# Keymap
# https://github.com/sxyazi/yazi/blob/main/yazi-config/preset/keymap.toml
}

View file

@ -1,16 +0,0 @@
{
programs.yt-dlp = {
enable = true;
settings = {
embed-thumbnail = true;
embed-subs = true;
sub-langs = "english";
downloader = "aria2c";
downloader-args = "aria2c:'-c -x8 -s8 -k1M'";
};
extraConfig = ''
--embed-chapters
--audio-quality 0
'';
};
}

View file

@ -0,0 +1,6 @@
{
extraConfig = ''
--embed-chapters
--audio-quality 0
'';
}

View file

@ -0,0 +1,9 @@
{
settings = {
embed-thumbnail = true;
embed-subs = true;
sub-langs = "english";
downloader = "aria2c";
downloader-args = "aria2c:'-c -x8 -s8 -k1M'";
};
}

View file

@ -0,0 +1,10 @@
{
programs.yt-dlp = let
configPath = ./config;
in
{
enable = true;
}
// (import (configPath + /extraConfig.nix))
// (import (configPath + /settings.nix));
}