feat: init

This commit is contained in:
Nick 2025-03-29 23:08:26 -05:00
commit 96c6f790fc
804 changed files with 33411 additions and 0 deletions

View file

@ -0,0 +1,11 @@
let
importList =
let
content = builtins.readDir ./.;
dirContent = builtins.filter (n: content.${n} == "directory") (builtins.attrNames content);
in
map (name: ./. + "/${name}") dirContent;
in
{
imports = importList;
}

View 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";
}

View file

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

View file

@ -0,0 +1,11 @@
{
pkgs,
...
}:
{
home.packages = builtins.attrValues {
inherit (pkgs)
jellyfin-media-player
;
};
}

View file

@ -0,0 +1,11 @@
{
programs.mpv = {
enable = true;
config = {
profile = "gpu-hq";
ytdl-format = "bestvideo+bestaudio";
cache-default = 4000000;
loop-file = "inf";
};
};
}

View file

@ -0,0 +1,11 @@
{
pkgs,
...
}:
{
home.packages = builtins.attrValues {
inherit (pkgs)
stremio
;
};
}

View file

@ -0,0 +1,11 @@
{
pkgs,
...
}:
{
home.packages = builtins.attrValues {
inherit (pkgs)
syncplay
;
};
}

View file

@ -0,0 +1,11 @@
{
pkgs,
...
}:
{
home.packages = builtins.attrValues {
inherit (pkgs)
vlc
;
};
}