57 lines
1.0 KiB
Nix
57 lines
1.0 KiB
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
programs = {
|
|
chromium = {
|
|
enable = true;
|
|
package = pkgs.brave;
|
|
commandLineArgs = [
|
|
#"--sync-url='http://192.168.0.30:8295/v2'"
|
|
];
|
|
};
|
|
|
|
mpv = {
|
|
enable = true;
|
|
|
|
package = (
|
|
pkgs.mpv-unwrapped.wrapper {
|
|
scripts = with pkgs.mpvScripts; [
|
|
sponsorblock
|
|
];
|
|
|
|
mpv = pkgs.mpv-unwrapped.override {
|
|
waylandSupport = true;
|
|
};
|
|
}
|
|
);
|
|
|
|
config = {
|
|
profile = "high-quality";
|
|
ytdl-format = "bestvideo+bestaudio";
|
|
cache-default = 4000000;
|
|
loop-file = "inf";
|
|
};
|
|
};
|
|
|
|
joplin-desktop = {
|
|
enable = true;
|
|
sync.target = "joplin-server";
|
|
};
|
|
};
|
|
# add bookmarks for shared drives
|
|
xdg.configFile."gtk-3.0/bookmarks" = {
|
|
force = true;
|
|
text = ''
|
|
file:/// root
|
|
file:///mnt/data data
|
|
file:///mnt/media media
|
|
file:///mnt/services services
|
|
'';
|
|
};
|
|
|
|
|
|
|
|
# Don't touch
|
|
home.stateVersion = "24.11";
|
|
}
|