mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-19 02:46:06 -07:00
update browser and remove play with mpv
This commit is contained in:
parent
492d2d933c
commit
efcbbb02ce
@ -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
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{ config, pkgs, user, lib, ... }:
|
{ config, pkgs, user, lib, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
./rss.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
23
provision/hosts/kestrel/rss.nix
Normal file
23
provision/hosts/kestrel/rss.nix
Normal 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
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
@ -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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user