mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
refactor: foldered a bunch of packages
This commit is contained in:
parent
18258dec54
commit
6196e80d62
27 changed files with 278 additions and 223 deletions
|
@ -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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
27
home-manager/modules/bottom/config/settings.nix
Normal file
27
home-manager/modules/bottom/config/settings.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
9
home-manager/modules/bottom/default.nix
Executable file
9
home-manager/modules/bottom/default.nix
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
programs.bottom = let
|
||||||
|
configPath = ./config;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
}
|
||||||
|
// (import (configPath + /settings.nix));
|
||||||
|
}
|
|
@ -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
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
10
home-manager/modules/brave/config/extensions.nix
Normal file
10
home-manager/modules/brave/config/extensions.nix
Normal 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
|
||||||
|
];
|
||||||
|
}
|
9
home-manager/modules/brave/default.nix
Executable file
9
home-manager/modules/brave/default.nix
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
programs.brave = let
|
||||||
|
configPath = ./config;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
}
|
||||||
|
// (import (configPath + /extensions.nix));
|
||||||
|
}
|
|
@ -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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
46
home-manager/modules/freetube/config/settings.nix
Normal file
46
home-manager/modules/freetube/config/settings.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
9
home-manager/modules/freetube/default.nix
Executable file
9
home-manager/modules/freetube/default.nix
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
programs.freetube = let
|
||||||
|
configPath = ./config;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
}
|
||||||
|
// (import (configPath + /settings.nix));
|
||||||
|
}
|
|
@ -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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
31
home-manager/modules/helix/config/languages.nix
Normal file
31
home-manager/modules/helix/config/languages.nix
Normal 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";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
24
home-manager/modules/helix/config/settings.nix
Normal file
24
home-manager/modules/helix/config/settings.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
11
home-manager/modules/helix/default.nix
Executable file
11
home-manager/modules/helix/default.nix
Executable 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));
|
||||||
|
}
|
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
programs.starship = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
add_newline = false;
|
|
||||||
character = {
|
|
||||||
success_symbol = "[ ➜](bold #8bd5ca)";
|
|
||||||
error_symbol = "[ ¬◇](bold #ee99a0)";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
9
home-manager/modules/starship/config/settings.nix
Normal file
9
home-manager/modules/starship/config/settings.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
settings = {
|
||||||
|
add_newline = false;
|
||||||
|
character = {
|
||||||
|
success_symbol = "[ ➜](bold #8bd5ca)";
|
||||||
|
error_symbol = "[ ¬◇](bold #ee99a0)";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
9
home-manager/modules/starship/default.nix
Executable file
9
home-manager/modules/starship/default.nix
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
programs.starship = let
|
||||||
|
configPath = ./config;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
}
|
||||||
|
// (import (configPath + /settings.nix));
|
||||||
|
}
|
|
@ -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;};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
|
14
home-manager/modules/wezterm/config/extraConfig.nix
Normal file
14
home-manager/modules/wezterm/config/extraConfig.nix
Normal 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
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
}
|
9
home-manager/modules/wezterm/default.nix
Executable file
9
home-manager/modules/wezterm/default.nix
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
programs.wezterm = let
|
||||||
|
configPath = ./config;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
}
|
||||||
|
// (import (configPath + /extraConfig.nix));
|
||||||
|
}
|
|
@ -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
|
|
||||||
|
|
18
home-manager/modules/yazi/config/settings.nix
Normal file
18
home-manager/modules/yazi/config/settings.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
12
home-manager/modules/yazi/default.nix
Executable file
12
home-manager/modules/yazi/default.nix
Executable 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
|
||||||
|
}
|
|
@ -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
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
|
6
home-manager/modules/yt-dlp/config/extraConfig.nix
Normal file
6
home-manager/modules/yt-dlp/config/extraConfig.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
extraConfig = ''
|
||||||
|
--embed-chapters
|
||||||
|
--audio-quality 0
|
||||||
|
'';
|
||||||
|
}
|
9
home-manager/modules/yt-dlp/config/settings.nix
Normal file
9
home-manager/modules/yt-dlp/config/settings.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
settings = {
|
||||||
|
embed-thumbnail = true;
|
||||||
|
embed-subs = true;
|
||||||
|
sub-langs = "english";
|
||||||
|
downloader = "aria2c";
|
||||||
|
downloader-args = "aria2c:'-c -x8 -s8 -k1M'";
|
||||||
|
};
|
||||||
|
}
|
10
home-manager/modules/yt-dlp/default.nix
Executable file
10
home-manager/modules/yt-dlp/default.nix
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
programs.yt-dlp = let
|
||||||
|
configPath = ./config;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
}
|
||||||
|
// (import (configPath + /extraConfig.nix))
|
||||||
|
// (import (configPath + /settings.nix));
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue