old
1{nixos-logo, ...}: {
2 # Power Control
3 programs.plasma.powerdevil = {
4 AC.inhibitLidActionWhenExternalMonitorConnected = true;
5 battery = {
6 powerProfile = "powerSaving";
7 # Auto Power Save
8 autoSuspend = {
9 action = "sleep";
10 idleTimeout = 600;
11 };
12 turnOffDisplay = {
13 idleTimeout = 360;
14 idleTimeoutWhenLocked = 120;
15 };
16 dimDisplay = {
17 enable = true;
18 idleTimeout = 120;
19 };
20 # Actions
21 whenLaptopLidClosed = "hibernate";
22 whenSleepingEnter = "standbyThenHibernate";
23 powerButtonAction = "shutDown";
24 inhibitLidActionWhenExternalMonitorConnected = true;
25 };
26 lowBattery = {
27 powerProfile = "powerSaving";
28 # Auto Power Save
29 autoSuspend = {
30 action = "sleep";
31 idleTimeout = 300;
32 };
33 turnOffDisplay = {
34 idleTimeout = 180;
35 idleTimeoutWhenLocked = 60;
36 };
37 dimDisplay = {
38 enable = true;
39 idleTimeout = 60;
40 };
41 # Actions
42 whenLaptopLidClosed = "hibernate";
43 whenSleepingEnter = "standbyThenHibernate";
44 powerButtonAction = "shutDown";
45 inhibitLidActionWhenExternalMonitorConnected = true;
46 };
47 };
48
49 programs.plasma.input = {
50 touchpads = [
51 {
52 enable = true;
53 name = "SYNA2BA6:00 06CB:CF00 Touchpad";
54 productId = "cf00";
55 vendorId = "06cb";
56 disableWhileTyping = true;
57 naturalScroll = true;
58 tapToClick = true;
59 tapAndDrag = true;
60 }
61 ];
62 };
63
64 programs.fastfetch.settings.logo = {
65 type = "kitty-direct";
66 source = "${nixos-logo}/nixos-griseo.png";
67 height = 15;
68 width = 32;
69 };
70}