summary refs log tree commit diff
path: root/nixos/modules/profiles/minimal.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-16 16:58:06 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-16 16:58:06 +0200
commit150d3b00951a2f0f1f65a22602422c2e75616c1f (patch)
tree5b28b9dcea6a892f0999d34281930d0d75fcbe59 /nixos/modules/profiles/minimal.nix
parentc13d582c782536718c7d62a10c2f83f19f0ce22e (diff)
downloadnixpkgs-150d3b00951a2f0f1f65a22602422c2e75616c1f.tar
nixpkgs-150d3b00951a2f0f1f65a22602422c2e75616c1f.tar.gz
nixpkgs-150d3b00951a2f0f1f65a22602422c2e75616c1f.tar.bz2
nixpkgs-150d3b00951a2f0f1f65a22602422c2e75616c1f.tar.lz
nixpkgs-150d3b00951a2f0f1f65a22602422c2e75616c1f.tar.xz
nixpkgs-150d3b00951a2f0f1f65a22602422c2e75616c1f.tar.zst
nixpkgs-150d3b00951a2f0f1f65a22602422c2e75616c1f.zip
no-x-libs.nix: Disable su xauth forwarding, and X11 dependency in dbus
Diffstat (limited to 'nixos/modules/profiles/minimal.nix')
-rw-r--r--nixos/modules/profiles/minimal.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/nixos/modules/profiles/minimal.nix b/nixos/modules/profiles/minimal.nix
index 821b9f93465..5067622aaf1 100644
--- a/nixos/modules/profiles/minimal.nix
+++ b/nixos/modules/profiles/minimal.nix
@@ -1,11 +1,8 @@
 # This module defines a small NixOS configuration.  It does not
 # contain any graphical stuff.
 
-{ config, pkgs, ... }:
+{ config, lib, pkgs, ... }:
 
 {
-  # Don't include X libraries.
-  programs.ssh.setXAuthLocation = false;
-  fonts.enableFontConfig = false;
-  fonts.enableCoreFonts = false;
+  environment.noXlibs = true;
 }