This commit is contained in:
parent
39ab82ae47
commit
b5a63b3cbd
@ -5,8 +5,6 @@
|
||||
../../modules/home-manager/default.nix
|
||||
];
|
||||
|
||||
smayzy.webapps.enable = true;
|
||||
|
||||
smayzy.lf.enable = true;
|
||||
|
||||
smayzy.kitty.enable = true;
|
||||
|
||||
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user