add upower service

This commit is contained in:
Asaki Yuki 2026-04-10 21:15:43 +07:00
parent 5769469b6b
commit e829bedfe3
5 changed files with 10 additions and 3 deletions

View file

@ -8,6 +8,8 @@
./hardware-configuration.nix
./mount.nix
../../modules/features/system/upower.nix
(libs.root "/host/desktop/default.nix")
(libs.root "/home/asakiyuki/configuration.nix")
];

View file

@ -15,7 +15,7 @@
{
spf = "superfile";
}
(lib.mkIf osconfig.virtualisation.waydroid.enable {
(lib.optionalAttrs osconfig.virtualisation.waydroid.enable {
wss = "waydroid session stop; exit;";
})
];

View file

@ -0,0 +1,5 @@
{ ... }: {
services.upower = {
enable = true;
};
}

View file

@ -1,6 +1,6 @@
{ ... }: {
wayland.windowManager.hyprland.settings = {
"$LAPTOP_TOUCHPAD_ENABLE" = true;
"$LAPTOP_TOUCHPAD_ENABLE" = false;
device = {
name = "gxtp5100:00-27c6:01e0-touchpad";

View file

@ -5,7 +5,7 @@
"SUPER SHIFT, L, exit,"
"SUPER SHIFT, TAB, togglefloating,"
"SUPER SHIFT, S, exec, hyprshot -m region -o '/home/asakiyuki/Pictures/Screenshot/' -z"
"SUPER SHIFT, S, exec, hyprshot -m region -o '/home/asakiyuki/Pictures/Screenshots/' -z"
"SUPER, J, togglesplit,"
"SUPER, E, exec, dolphin"