diff --git a/peach/default.nix b/peach/default.nix index 3c08747f3b2a2a36863c59aff8de6d29d14aae8d..01e65c327c04506b13ec9021cde7e6fae4ad9fec 100644 --- a/peach/default.nix +++ b/peach/default.nix @@ -1,35 +1,4 @@ { pkgs, config, ... }: -let - makeWebApp = - { - name, - url, - }: - let - bin = pkgs.writeScriptBin name '' - #!${pkgs.lib.getExe pkgs.bash} - ${pkgs.lib.getExe pkgs.chromium} \ - --app=${url} \ - --start-maximized \ - --noerrdialogs \ - --disable-translate \ - --no-first-run \ - --fast \ - --fast-start \ - --disable-infobars \ - --disable-features=TranslateUI \ - --disk-cache-dir=/dev/null \ - ''; - in - pkgs.makeDesktopItem { - inherit name; - exec = pkgs.lib.getExe bin; - icon = "applications-games"; - desktopName = name; - comment = "Web app for ${name}"; - categories = [ "Game" ]; - }; -in { imports = [ ./hardware.nix @@ -110,12 +79,6 @@ ]; hashedPasswordFile = config.age.secrets.beanboy.path; packages = with pkgs; [ prismlauncher - - # Web apps - (makeWebApp { - name = "Boddle"; - url = "https://play.boddlelearning.com/"; - }) ]; }; "root".openssh.authorizedKeys.keys = [