From a202a70ff13aa0289433c199456c5125d16bc518 Mon Sep 17 00:00:00 2001 From: moons-14 Date: Mon, 17 Nov 2025 19:51:33 +0900 Subject: [PATCH] fix --- modules/core/power.nix | 12 ++++++++++++ modules/home/niri/default.nix | 1 - modules/home/noctalia.nix | 3 +++ profiles/laptop.nix | 1 + 4 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 modules/core/power.nix diff --git a/modules/core/power.nix b/modules/core/power.nix new file mode 100644 index 0000000..58cf036 --- /dev/null +++ b/modules/core/power.nix @@ -0,0 +1,12 @@ +{ ... }: +{ + boot.kernelParams = [ + "mem_sleep_default=deep" + ]; + + powerManagement = { + enable = true; + powertop.enable = true; + }; + +} \ No newline at end of file diff --git a/modules/home/niri/default.nix b/modules/home/niri/default.nix index 3ff6e66..93ae606 100644 --- a/modules/home/niri/default.nix +++ b/modules/home/niri/default.nix @@ -38,7 +38,6 @@ in shadow = { color = "#0007"; }; - center-focused-column = "never"; }; binds = defaultKeyBind // { diff --git a/modules/home/noctalia.nix b/modules/home/noctalia.nix index 7787c2d..2abc07f 100644 --- a/modules/home/noctalia.nix +++ b/modules/home/noctalia.nix @@ -33,6 +33,9 @@ { id = "SystemMonitor"; } + { + id = "Taskbar"; + } { id = "ActiveWindow"; } diff --git a/profiles/laptop.nix b/profiles/laptop.nix index d1fd14f..fc4c230 100644 --- a/profiles/laptop.nix +++ b/profiles/laptop.nix @@ -3,6 +3,7 @@ imports = [ ./gui.nix ./../modules/core/fingerprint.nix + ./../modules/core/power.nix ]; home-manager.users.moons.imports = [