add cage to kiosk stremio on its own user
This commit is contained in:
parent
d9bb2ffdb7
commit
f1474f22d1
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue