about summary refs log tree commit diff
path: root/nixos/modules/module-list.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2020-02-19 14:43:48 -0500
committerFlorian Klink <flokli@flokli.de>2020-03-02 13:43:20 -0800
commite0e4d591cc4ed4ff14c3f5bffb96d99b971ae639 (patch)
tree05f815f8ce66023cd46e1399450f11e692d08f92 /nixos/modules/module-list.nix
parentc6c200f1185630be562a3d8bb9449a2d8f08589c (diff)
downloadnixlib-e0e4d591cc4ed4ff14c3f5bffb96d99b971ae639.tar
nixlib-e0e4d591cc4ed4ff14c3f5bffb96d99b971ae639.tar.gz
nixlib-e0e4d591cc4ed4ff14c3f5bffb96d99b971ae639.tar.bz2
nixlib-e0e4d591cc4ed4ff14c3f5bffb96d99b971ae639.tar.lz
nixlib-e0e4d591cc4ed4ff14c3f5bffb96d99b971ae639.tar.xz
nixlib-e0e4d591cc4ed4ff14c3f5bffb96d99b971ae639.tar.zst
nixlib-e0e4d591cc4ed4ff14c3f5bffb96d99b971ae639.zip
nixos/cage: init
Add a cage module to nixos. This can be used to make kiosk-style
systems that boot directly to a single application. The user (demo by
default) is automatically logged in by this service and the
program (xterm by default) is automatically started.

This is useful for some embedded, single-user systems where we want
automatic booting. To keep the system secure, the user should have
limited privileges.

Based on the service provided in the Cage wiki here:

https://github.com/Hjdskes/cage/wiki/Starting-Cage-on-boot-with-systemd

Co-Authored-By: Florian Klink <flokli@flokli.de>
Diffstat (limited to 'nixos/modules/module-list.nix')
-rw-r--r--nixos/modules/module-list.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix
index 6734929b9d4e..e2722389e339 100644
--- a/nixos/modules/module-list.nix
+++ b/nixos/modules/module-list.nix
@@ -807,6 +807,7 @@
   ./services/ttys/agetty.nix
   ./services/ttys/gpm.nix
   ./services/ttys/kmscon.nix
+  ./services/wayland/cage.nix
   ./services/web-apps/atlassian/confluence.nix
   ./services/web-apps/atlassian/crowd.nix
   ./services/web-apps/atlassian/jira.nix