about summary refs log tree commit diff
path: root/machines/sternenseemann/base-laptop.nix
blob: 57e87a11a59cd92ea4b906164d7af907b6186421 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# TODO(sterni): split out common stuff for personal
#               computers when I have a non-laptop one
{ config, lib, pkgs, ... }:

{
  imports = [
    ./base.nix
    ./fonts.nix
  ];

  config = {
    console.keyMap = "neo";

    hardware.bluetooth.enable = lib.mkDefault true;
    services.blueman.enable = true;

    hardware.pulseaudio = {
      daemon.config.flat-volumes = "yes";
      enable = true;
    };

    hardware.cpu.intel.updateMicrocode = true;

    powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";

    vuizvui.hardware.thinkpad.enable = lib.mkDefault true;

    environment.systemPackages = with pkgs; [
      tree
      lowdown
      lynx sacc
      zip unzip
      stow
      silver-searcher
      mosh
      nmap
      ffmpeg graphicsmagick
      kitty pavucontrol
      xsel
    ] ++ pkgs.vuizvui.sternenseemann.scripts.default;
  };
}