diff options
author | lassulus <lass@aidsballs.de> | 2015-07-16 15:51:01 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-07-16 15:51:01 +0200 |
commit | c3e295b56eba690fc5422b74a74ffca6d9f98ac5 (patch) | |
tree | 364dbf9606d2805fcd03e8814910db7e06f12450 /2configs/lass/desktop-base.nix | |
parent | 670cfaf39aaacb87d49d3fdffa53df34ee0f4d95 (diff) |
2 lass: re-add all configs
Diffstat (limited to '2configs/lass/desktop-base.nix')
-rw-r--r-- | 2configs/lass/desktop-base.nix | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/2configs/lass/desktop-base.nix b/2configs/lass/desktop-base.nix new file mode 100644 index 000000000..ee7a94bc9 --- /dev/null +++ b/2configs/lass/desktop-base.nix @@ -0,0 +1,65 @@ +{ 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; + + layout = "us,de"; + xkbModel = "evdev"; + xkbVariant = "altgr-intl,nodeadkeys"; + xkbOptions = "grp:caps_toggle"; + + }; + +} |