stockholm/makefu/2configs/main-laptop.nix

31 lines
757 B
Nix
Raw Normal View History

{ 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
2016-10-20 18:54:38 +00:00
with import <stockholm/lib>;
let
window-manager = "awesome";
user = config.krebs.build.user.name;
in {
imports = [
2017-05-12 09:29:46 +00:00
./gui/base.nix
2023-06-03 13:34:41 +00:00
# ./gui/look-up.nix
./fetchWallpaper.nix
./zsh-user.nix
./tools/core.nix
./tools/core-gui.nix
./gui/automatic-diskmount.nix
];
2016-02-18 07:37:40 +00:00
users.users.${config.krebs.build.user.name}.extraGroups = [ "dialout" ];
security.sudo.extraConfig = "${config.krebs.power-action.user} ALL= (root) NOPASSWD: ${pkgs.systemd}/bin/systemctl suspend";
2020-03-13 09:46:05 +00:00
location.latitude = 48.7;
location.longitude = 9.1;
}