2015-08-23 00:48:35 +00: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 16:06:50 +00:00
|
|
|
# TODO split generic desktop stuff and laptop-specifics like lidswitching
|
2015-08-23 00:48:35 +00:00
|
|
|
|
2016-10-20 18:54:38 +00:00
|
|
|
with import <stockholm/lib>;
|
2016-08-02 13:40:41 +00:00
|
|
|
let
|
|
|
|
window-manager = "awesome";
|
|
|
|
user = config.krebs.build.user.name;
|
|
|
|
in {
|
2015-12-13 12:52:15 +00:00
|
|
|
imports = [
|
2017-05-12 09:29:46 +00:00
|
|
|
./gui/base.nix
|
2023-06-03 13:34:41 +00:00
|
|
|
# ./gui/look-up.nix
|
2015-12-13 12:52:15 +00:00
|
|
|
./fetchWallpaper.nix
|
2015-12-16 11:29:24 +00:00
|
|
|
./zsh-user.nix
|
2017-03-01 14:50:58 +00:00
|
|
|
./tools/core.nix
|
|
|
|
./tools/core-gui.nix
|
2018-04-04 12:44:06 +00:00
|
|
|
./gui/automatic-diskmount.nix
|
2015-12-13 12:52:15 +00:00
|
|
|
];
|
2016-02-18 07:37:40 +00:00
|
|
|
|
|
|
|
users.users.${config.krebs.build.user.name}.extraGroups = [ "dialout" ];
|
|
|
|
|
2016-08-02 13:40:41 +00:00
|
|
|
security.sudo.extraConfig = "${config.krebs.power-action.user} ALL= (root) NOPASSWD: ${pkgs.systemd}/bin/systemctl suspend";
|
2015-08-23 00:48:35 +00:00
|
|
|
|
2020-03-13 09:46:05 +00:00
|
|
|
location.latitude = 48.7;
|
|
|
|
location.longitude = 9.1;
|
|
|
|
|
2015-08-23 00:48:35 +00:00
|
|
|
}
|