aboutsummaryrefslogtreecommitdiff
path: root/nixos/laptop
diff options
context:
space:
mode:
authorspl3g <spleefer6@yandex.ru>2025-10-27 23:50:51 +0300
committerspl3g <spleefer6@yandex.ru>2025-10-27 23:50:51 +0300
commite03a645d9e204eb295cc8d62d3e397d832e274e8 (patch)
treeda30810ef7089c4efe367005549168dba1965ccd /nixos/laptop
parent06f6512cbe18d1cb103c40fca49bbdd2525b5aa7 (diff)
feat(laptop): remove powerManagement (temporarily)
Diffstat (limited to 'nixos/laptop')
-rw-r--r--nixos/laptop/configuration.nix29
1 files changed, 6 insertions, 23 deletions
diff --git a/nixos/laptop/configuration.nix b/nixos/laptop/configuration.nix
index 518fe20..302d305 100644
--- a/nixos/laptop/configuration.nix
+++ b/nixos/laptop/configuration.nix
@@ -1,4 +1,4 @@
-{ pkgs, ... }: {
+{pkgs, ...}: {
# You can import other NixOS modules here
imports = [
# If you want to use modules your own flake exports (from modules/nixos):
@@ -20,30 +20,16 @@
pbutton.disable = true;
greetd.command = "Hyprland";
- powerManagement.enable = true;
- services.tlp = {
- enable = false;
- settings = {
- CPU_SCALING_GOVERNOR_ON_BAT = "performance";
- CPU_SCALING_GOVERNOR_ON_AC = "performance";
-
- CPU_ENERGY_PERF_POLICY_ON_BAT = "performance";
- CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
-
- CPU_MIN_PERF_ON_AC = 0;
- CPU_MAX_PERF_ON_AC = 100;
- CPU_MIN_PERF_ON_BAT = 0;
- CPU_MAX_PERF_ON_BAT = 100;
-
- USB_AUTOSUSPEND = 0;
- };
+ programs.gamescope = {
+ enable = true;
+ capSysNice = false;
};
time.timeZone = "Europe/Moscow";
networking.hostName = "ltrr-mini";
networking.hosts = {
- "127.0.0.1" = [ "mr.local" "local.oneln.ru" ];
- "127.0.0.3" = [ "local-api.oneln.ru" ];
+ "127.0.0.1" = ["mr.local" "local.oneln.ru"];
+ "127.0.0.3" = ["local-api.oneln.ru"];
};
programs.adb.enable = true;
@@ -51,9 +37,6 @@
pkgs.android-udev-rules
];
- programs.hyprland.enable = true;
- services.flatpak.enable = true;
-
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "23.05";
}