1 # This profile sets up a sytem for image based appliance usage. An appliance is
2 # installed as an image, cannot be re-built, has no Nix available, and is
3 # generally not meant for interactive use. Updates to such an appliance are
4 # handled by updating whole partition images via a tool like systemd-sysupdate.
6 { lib, modulesPath, ... }:
10 # Appliances are always "minimal".
12 "${modulesPath}/profiles/minimal.nix"
15 # The system cannot be rebuilt.
17 system.switch.enable = false;
19 # The system is static.
20 users.mutableUsers = false;
22 # The system avoids interpreters as much as possible to reduce its attack
24 boot.initrd.systemd.enable = lib.mkDefault true;
25 networking.useNetworkd = lib.mkDefault true;