summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-08-02 23:12:38 +0200
committermakefu <github@syntax-fehler.de>2015-08-02 23:12:38 +0200
commit00bc48d90f95bf9d5de2da6b6c82bca7d78b87f2 (patch)
treea770b18672790b25401fc9dd430d7aa2b6f7e5ef /makefu/2configs
parent65d79890493600b09dc01209a378c070f2f0a028 (diff)
add host tsp (traveling salesman problem)
Diffstat (limited to 'makefu/2configs')
-rw-r--r--makefu/2configs/base-gui.nix23
1 files changed, 23 insertions, 0 deletions
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;
+ };
+
+}