From f1474f22d1120a16e524ec6e618a7ec779534f3a Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Wed, 4 Dec 2024 16:58:55 +0100 Subject: [PATCH] add cage to kiosk stremio on its own user --- nixos/hosts/wheatley/configuration.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/nixos/hosts/wheatley/configuration.nix b/nixos/hosts/wheatley/configuration.nix index 44ba6ef..b03d601 100644 --- a/nixos/hosts/wheatley/configuration.nix +++ b/nixos/hosts/wheatley/configuration.nix @@ -32,10 +32,6 @@ sdImage.compressImage = false; - programs.command-not-found.enable = lib.mkForce false; - programs.nix-index.enable = true; - programs.nix-index-database.comma.enable = true; - home-manager = { extraSpecialArgs = {inherit inputs outputs;}; users = { @@ -54,6 +50,12 @@ settings.PermitRootLogin = "no"; }; + # Add stremio kiosk on wayland :) + users.extraUsers.stremio.isNormalUser = true; + services.cage.user = "stremio"; + services.cage.program = "${pkgs.stremio}/bin/stremio"; + services.cage.enable = true; + networking.firewall = { enable = true; allowPing = false;