summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/base-gui.nix
blob: 5f977251fbc98f1148f65c147d6f0d236174b823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
  };

}