update browser and remove play with mpv

This commit is contained in:
Tyler Starr 2023-11-25 01:47:52 -08:00
parent 492d2d933c
commit efcbbb02ce
4 changed files with 26 additions and 19 deletions

View File

@ -91,7 +91,7 @@ gaps left 0
for_window [title="Steam - News"] floating enable for_window [title="Steam - News"] floating enable
for_window [title="Friends List"] floating enable for_window [title="Friends List"] floating enable
for_window [title=".*mpv$"] { for_window [title="Picture in picture"] {
floating enable floating enable
sticky toggle sticky toggle
resize set width 22ppt resize set width 22ppt

View File

@ -1,6 +1,7 @@
{ config, pkgs, user, lib, ... }: { config, pkgs, user, lib, ... }:
{ {
imports = [ imports = [
./rss.nix
./syncthing.nix ./syncthing.nix
]; ];

View File

@ -0,0 +1,23 @@
{ config, lib, pkgs, user, ... }:
{
services.postgresql = {
enable = true;
authentication = pkgs.lib.mkOverride 10 ''
#type database DBuser auth-method
local all all trust
'';
};
services.miniflux = {
enable = true;
config = {
LISTEN_ADDR = "localhost:8087";
# Break youtube embeds so they dont show
YOUTUBE_EMBED_URL_OVERRIDE="https://";
};
adminCredentialsFile = pkgs.writeText "cred" ''
ADMIN_USERNAME=miniflux
ADMIN_PASSWORD=miniflux
'';
};
}

View File

@ -41,8 +41,8 @@ in {
"nngceckbapebfimnlniiiahkandclblb" # Bitwarden "nngceckbapebfimnlniiiahkandclblb" # Bitwarden
"dbepggeogbaibhgnhhndojpepiihcmeb" # Viumium "dbepggeogbaibhgnhhndojpepiihcmeb" # Viumium
"icpgjfneehieebagbmdbhnlpiopdcmna" # New Tab Redirect "icpgjfneehieebagbmdbhnlpiopdcmna" # New Tab Redirect
"hahklcmnfgffdlchjigehabfbiigleji" # Play with MPV
"oahiolknhkbpcolgnpljehalnhblolkm" # Shorts Blocker "oahiolknhkbpcolgnpljehalnhblolkm" # Shorts Blocker
"hkgfoiooedgoejojocmhlaklaeopbecg" # Picture-in-Picture (by Google)
]; ];
# Setup bookmarks # Setup bookmarks
@ -82,22 +82,5 @@ in {
]; ];
}; };
}; };
# Start play-with-mpv as service
systemd.user.services.play-with-mpv = {
path = with pkgs; [ play-with-mpv mpv ];
environment = {
DISPLAY = ":0";
};
description = "play videos with mpv from chromium.";
wantedBy = [ "default.target" ];
restartIfChanged = true;
serviceConfig = {
Type = "simple";
Restart = "always";
ExecStart = "${pkgs.play-with-mpv}/bin/play-with-mpv";
};
};
}; };
} }