nixos-config/modules/nixos/profiles/headless.nix
Gabriel Arazas fc3f7eb7c7
nixos/profiles/server: remove headless submodule
Now this is moved as a "proper" profile module ala-nixpkgs. Also because
we can use not only on server systems.
2024-01-22 12:19:36 +08:00

21 lines
557 B
Nix

# An extended version of the headless profile from nixpkgs. We're only covering
# the most basic settings here. This will be used both for desktop and server
# systems.
{ lib, modulesPath, ... }:
{
imports = [
"${modulesPath}/profiles/headless.nix"
];
# So does sounds...
sound.enable = lib.mkDefault false;
# ...and Bluetooth because it's so insecure.
hardware.bluetooth.enable = lib.mkDefault false;
# And other devices...
hardware.opentabletdriver.enable = lib.mkDefault false;
services.printing.enable = lib.mkDefault false;
}