From 00bc48d90f95bf9d5de2da6b6c82bca7d78b87f2 Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 2 Aug 2015 23:12:38 +0200 Subject: add host tsp (traveling salesman problem) --- makefu/2configs/base-gui.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 makefu/2configs/base-gui.nix (limited to 'makefu/2configs') diff --git a/makefu/2configs/base-gui.nix b/makefu/2configs/base-gui.nix new file mode 100644 index 000000000..5f977251f --- /dev/null +++ b/makefu/2configs/base-gui.nix @@ -0,0 +1,23 @@ +{ config, lib, pkgs, ... }: + +with lib; +{ + imports = [ ]; + services.xserver.enable = true; + services.xserver.layout = "us"; + +# use awesome, direct boot into + services.xserver.displayManager.auto.enable =true; + services.xserver.displayManager.auto.user =config.krebs.users.makefu; + services.xserver.windowManager.awesome.enable = true; + + security.setuidPrograms = [ "slock" ]; + +# use pulseaudio + environment.systemPackages = [ pkgs.slock ]; + hardware.pulseaudio = { + enable = true; + systemWide = true; + }; + +} -- cgit v1.2.3