2015-07-16 13:51:01 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
mainUser = config.users.extraUsers.mainUser;
|
|
|
|
in {
|
|
|
|
imports = [
|
|
|
|
./base.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
#window manager stuff
|
|
|
|
haskellPackages.xmobar
|
|
|
|
haskellPackages.yeganesh
|
|
|
|
dmenu2
|
|
|
|
xlibs.fontschumachermisc
|
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
2015-07-19 20:51:39 +00:00
|
|
|
layout = "us";
|
2015-07-16 13:51:01 +00:00
|
|
|
xkbModel = "evdev";
|
2015-07-19 20:51:39 +00:00
|
|
|
xkbVariant = "altgr-intl";
|
2015-09-13 14:33:43 +00:00
|
|
|
xkbOptions = "caps:backspace";
|
2015-07-16 13:51:01 +00:00
|
|
|
};
|
|
|
|
|
2015-09-23 13:11:55 +00:00
|
|
|
services.logind.extraConfig = ''
|
|
|
|
HandleLidSwitch=ignore
|
|
|
|
'';
|
|
|
|
|
2015-07-16 13:51:01 +00:00
|
|
|
}
|