blob: a1529fb2c1236a8dc064b05e4f42e878a632cb45 (
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
43
44
45
46
47
|
# 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;
vuizvui.hardware.low-battery = {
enable = true;
treshold = 3;
action = "hibernate";
};
environment.systemPackages = with pkgs; [
lr
lowdown
lynx sacc
zip unzip
stow
silver-searcher
mosh
nmap
ffmpeg graphicsmagick
kitty pavucontrol
xsel
] ++ pkgs.vuizvui.sternenseemann.scripts.default;
};
}
|