2015-04-09 23:37:29 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
2015-07-13 11:39:49 +00:00
|
|
|
let
|
|
|
|
mainUser = config.users.extraUsers.mainUser;
|
|
|
|
in {
|
2015-05-15 21:19:35 +00:00
|
|
|
imports = [
|
2015-05-20 18:24:36 +00:00
|
|
|
./base.nix
|
2015-04-09 23:37:29 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
|
|
|
|
virtualisation.libvirtd.enable = true;
|
|
|
|
|
|
|
|
hardware.pulseaudio = {
|
|
|
|
enable = true;
|
|
|
|
systemWide = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.ssh.startAgent = false;
|
|
|
|
|
|
|
|
security.setuidPrograms = [ "slock" ];
|
|
|
|
|
|
|
|
services.printing = {
|
|
|
|
enable = true;
|
|
|
|
drivers = [ pkgs.foomatic_filters ];
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
|
|
|
|
powertop
|
|
|
|
|
2015-05-20 18:24:36 +00:00
|
|
|
#window manager stuff
|
2015-04-09 23:37:29 +00:00
|
|
|
haskellPackages.xmobar
|
|
|
|
haskellPackages.yeganesh
|
|
|
|
dmenu2
|
|
|
|
xlibs.fontschumachermisc
|
|
|
|
];
|
|
|
|
|
2015-07-13 11:39:49 +00:00
|
|
|
fonts.fonts = [
|
|
|
|
pkgs.xlibs.fontschumachermisc
|
|
|
|
];
|
|
|
|
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
windowManager.xmonad.extraPackages = hspkgs: with hspkgs; [
|
|
|
|
X11-xshape
|
|
|
|
];
|
|
|
|
windowManager.xmonad.enable = true;
|
|
|
|
windowManager.xmonad.enableContribAndExtras = true;
|
|
|
|
windowManager.default = "xmonad";
|
|
|
|
desktopManager.default = "none";
|
|
|
|
desktopManager.xterm.enable = false;
|
|
|
|
displayManager.slim.enable = true;
|
|
|
|
displayManager.auto.enable = true;
|
|
|
|
displayManager.auto.user = mainUser.name;
|
|
|
|
|
|
|
|
layout = "us,de";
|
|
|
|
xkbModel = "evdev";
|
|
|
|
xkbVariant = "altgr-intl,nodeadkeys";
|
|
|
|
xkbOptions = "grp:caps_toggle";
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2015-04-09 23:37:29 +00:00
|
|
|
}
|