mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
feat: refactored home manager
This commit is contained in:
parent
65417d1809
commit
376c1d7b18
511 changed files with 1777 additions and 772 deletions
10
home/modules/gui/apps/media/video/videoPlaying/default.nix
Normal file
10
home/modules/gui/apps/media/video/videoPlaying/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
let
|
||||
content = builtins.readDir ./.;
|
||||
|
||||
dirContent = builtins.filter (n: content.${n} == "directory") (builtins.attrNames content);
|
||||
|
||||
importList = map (name: ./. + "/${name}") dirContent;
|
||||
in
|
||||
{
|
||||
imports = importList;
|
||||
}
|
44
home/modules/gui/apps/media/video/videoPlaying/freetube/config/settings.nix
Executable file
44
home/modules/gui/apps/media/video/videoPlaying/freetube/config/settings.nix
Executable file
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
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";
|
||||
}
|
11
home/modules/gui/apps/media/video/videoPlaying/freetube/default.nix
Executable file
11
home/modules/gui/apps/media/video/videoPlaying/freetube/default.nix
Executable file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
programs.freetube =
|
||||
let
|
||||
configPath = ./config;
|
||||
settingsPath = import (configPath + /settings.nix);
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
settings = settingsPath;
|
||||
};
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
config = {
|
||||
profile = "gpu-hq";
|
||||
ytdl-format = "bestvideo+bestaudio";
|
||||
cache-default = 4000000;
|
||||
loop-file = "inf";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
stremio
|
||||
;
|
||||
};
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
syncplay
|
||||
;
|
||||
};
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
vlc
|
||||
;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue