@@ -4,6 +4,5 @@
|
||||
./wm/hyprland.nix
|
||||
./terminal
|
||||
./lf
|
||||
./webapps.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
browser = lib.getExe pkgs.firefox;
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.webapps.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "jellyfin webapp";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.webapps.enable {
|
||||
xdg.desktopEntries.jellyfin = {
|
||||
name = "Jellyfin";
|
||||
exec = "${browser} --no-remote -P jellyfin --new-window --kiosk https://jellyfin.smayzy.ovh";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user