-
Notifications
You must be signed in to change notification settings - Fork 1
/
laptop.nix
91 lines (62 loc) · 2.29 KB
/
laptop.nix
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{ lib, ... }:
{
imports = [
./locale/colemak.nix
./locale/losAngeles.nix
./de/plasma6.nix
#./de/hyprland.nix
./packages/gui.nix
./packages/games.nix
./packages/coding.nix
./packages/steam.nix
#./packages/zerotier.nix
#./system/opentablet.nix
#./system/touchegg.nix
#./services/system/mysql.nix
./services/system/zram.nix
./syncthing
./syncthing/sync.nix
./syncthing/media.nix
#./syncthing/archive.nix
./syncthing/dotfiles.nix
./syncthing/ellidaProjects.nix
./syncthing/nixcfg.nix
./syncthing/projects.nix
#./impermanence
# #./impermanence/steam.nix
];
#services.getty.autologinUser = "klaymore";
networking = {
hostId = "57d90d30"; # head -c 8 /etc/machine-id
#interfaces.wlp2s0.useDHCP = true;
firewall.allowedTCPPorts = [ 5201 ];
};
#boot.extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
services.power-profiles-daemon.enable = true;
services.tlp = {
enable = false;
settings = {
#START_CHARGE_THRESH_BAT1 = 0; # dummy value
#STOP_CHARGE_THRESH_BAT1 = 65; # charge to 65%
#RESTORE_THRESHOLDS_ON_BAT = 1; # reset max charge after unplugging charger
#CPU_SCALING_GOVERNOR_ON_AC = "performance";
#CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
#CPU_ENERGY_PERF_POLICY_ON_AC = "balance_performance";
#CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power";
};
};
services.blueman.enable = false; # Plasma comes with a Bluetooth daemon
services.flatpak.enable = true;
#stylix.image = ./hd-doge-sand.jpg;
#stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/ayu-mirage.yaml";
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It‘s perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.05"; # Did you read the comment?
}