2015-08-23 02:48:35 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
# stuff for the main laptop
|
|
|
|
# this is pretty much nice-to-have and does
|
|
|
|
# not fit into base-gui
|
2016-02-11 17:06:50 +01:00
|
|
|
# TODO split generic desktop stuff and laptop-specifics like lidswitching
|
2015-08-23 02:48:35 +02:00
|
|
|
|
2016-02-14 16:43:44 +01:00
|
|
|
with config.krebs.lib;
|
2015-08-23 02:48:35 +02:00
|
|
|
{
|
2015-12-13 13:52:15 +01:00
|
|
|
imports = [
|
|
|
|
./base-gui.nix
|
|
|
|
./fetchWallpaper.nix
|
2015-12-16 12:29:24 +01:00
|
|
|
./zsh-user.nix
|
2016-02-22 14:28:05 +01:00
|
|
|
./laptop-utils.nix
|
2015-12-13 13:52:15 +01:00
|
|
|
];
|
2016-02-18 08:37:40 +01:00
|
|
|
|
|
|
|
users.users.${config.krebs.build.user.name}.extraGroups = [ "dialout" ];
|
|
|
|
|
2015-08-23 02:48:35 +02:00
|
|
|
|
|
|
|
services.redshift = {
|
|
|
|
enable = true;
|
|
|
|
latitude = "48.7";
|
|
|
|
longitude = "9.1";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|