summaryrefslogtreecommitdiff
path: root/modules/desktop/x11.nix
diff options
context:
space:
mode:
authorJakub Stachurski <j.stachurski@student.utwente.nl>2025-11-19 21:02:52 +0100
committerJakub Stachurski <j.stachurski@student.utwente.nl>2025-11-19 21:02:52 +0100
commit892de67a9f64d0b0cdb023d830a019d8feec0a57 (patch)
tree0c5fd0c60ef93bb5cdc5f83c8cade0c5dddb4899 /modules/desktop/x11.nix
parentf5b37610b3835ea26757ef36d554ec598d53100c (diff)
Nix fmt
Diffstat (limited to '')
-rw-r--r--modules/desktop/x11.nix20
1 files changed, 13 insertions, 7 deletions
diff --git a/modules/desktop/x11.nix b/modules/desktop/x11.nix
index cdbf3a3..d0f5480 100644
--- a/modules/desktop/x11.nix
+++ b/modules/desktop/x11.nix
@@ -1,11 +1,17 @@
-{pkgs, lib, config, ...}: {
+{
+ pkgs,
+ lib,
+ config,
+ ...
+}:
+{
options.addons.desktop.x11.enable = lib.mkEnableOption "Enabled if X11 is needed for this machine";
config = lib.mkIf config.addons.desktop.x11.enable {
services.xserver = {
- enable = true;
- excludePackages = with pkgs; [
- xterm
- ];
- };
- };
+ enable = true;
+ excludePackages = with pkgs; [
+ xterm
+ ];
+ };
+ };
}