2015-07-16 13:51:01 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
mainUser = config.users.extraUsers.mainUser;
|
|
|
|
in {
|
|
|
|
imports = [
|
2016-04-15 12:39:03 +00:00
|
|
|
./default.nix
|
2015-11-13 00:07:54 +00:00
|
|
|
#./urxvt.nix
|
|
|
|
./xserver
|
2015-07-16 13:51:01 +00:00
|
|
|
];
|
|
|
|
|
2015-10-30 17:35:21 +00:00
|
|
|
users.extraUsers.mainUser.extraGroups = [ "audio" ];
|
|
|
|
|
2015-07-16 13:51:01 +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; [
|
|
|
|
|
2015-12-29 19:21:06 +00:00
|
|
|
dmenu
|
2015-12-26 16:30:59 +00:00
|
|
|
gitAndTools.qgit
|
2015-10-05 10:19:25 +00:00
|
|
|
much
|
2015-12-26 16:30:59 +00:00
|
|
|
pavucontrol
|
|
|
|
powertop
|
2015-10-17 18:11:00 +00:00
|
|
|
push
|
2015-12-26 16:30:59 +00:00
|
|
|
slock
|
|
|
|
sxiv
|
2016-04-15 14:19:50 +00:00
|
|
|
xclip
|
2016-03-15 14:14:22 +00:00
|
|
|
xorg.xbacklight
|
2015-12-26 16:30:59 +00:00
|
|
|
xsel
|
2015-11-09 01:26:12 +00:00
|
|
|
zathura
|
2015-07-16 13:51:01 +00:00
|
|
|
|
2016-03-19 21:02:09 +00:00
|
|
|
mpv
|
|
|
|
mpv-poll
|
|
|
|
yt-next
|
2015-07-16 13:51:01 +00:00
|
|
|
#window manager stuff
|
2015-11-13 00:07:54 +00:00
|
|
|
#haskellPackages.xmobar
|
|
|
|
#haskellPackages.yeganesh
|
|
|
|
#dmenu2
|
|
|
|
#xlibs.fontschumachermisc
|
2015-07-16 13:51:01 +00:00
|
|
|
];
|
|
|
|
|
2015-11-13 00:07:54 +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";
|
|
|
|
# xkbModel = "evdev";
|
|
|
|
# xkbVariant = "altgr-intl";
|
|
|
|
# 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
|
|
|
}
|