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;
|
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 = {
|
home-manager = {
|
||||||
extraSpecialArgs = {inherit inputs outputs;};
|
extraSpecialArgs = {inherit inputs outputs;};
|
||||||
users = {
|
users = {
|
||||||
|
@ -54,6 +50,12 @@
|
||||||
settings.PermitRootLogin = "no";
|
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 = {
|
networking.firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowPing = false;
|
allowPing = false;
|
||||||
|
|
Loading…
Reference in a new issue