add upower service
This commit is contained in:
parent
5769469b6b
commit
e829bedfe3
5 changed files with 10 additions and 3 deletions
|
|
@ -8,6 +8,8 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./mount.nix
|
./mount.nix
|
||||||
|
|
||||||
|
../../modules/features/system/upower.nix
|
||||||
|
|
||||||
(libs.root "/host/desktop/default.nix")
|
(libs.root "/host/desktop/default.nix")
|
||||||
(libs.root "/home/asakiyuki/configuration.nix")
|
(libs.root "/home/asakiyuki/configuration.nix")
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
{
|
{
|
||||||
spf = "superfile";
|
spf = "superfile";
|
||||||
}
|
}
|
||||||
(lib.mkIf osconfig.virtualisation.waydroid.enable {
|
(lib.optionalAttrs osconfig.virtualisation.waydroid.enable {
|
||||||
wss = "waydroid session stop; exit;";
|
wss = "waydroid session stop; exit;";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
|
||||||
5
modules/features/system/upower.nix
Normal file
5
modules/features/system/upower.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{ ... }: {
|
||||||
|
services.upower = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
"$LAPTOP_TOUCHPAD_ENABLE" = true;
|
"$LAPTOP_TOUCHPAD_ENABLE" = false;
|
||||||
|
|
||||||
device = {
|
device = {
|
||||||
name = "gxtp5100:00-27c6:01e0-touchpad";
|
name = "gxtp5100:00-27c6:01e0-touchpad";
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
"SUPER SHIFT, L, exit,"
|
"SUPER SHIFT, L, exit,"
|
||||||
"SUPER SHIFT, TAB, togglefloating,"
|
"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, J, togglesplit,"
|
||||||
"SUPER, E, exec, dolphin"
|
"SUPER, E, exec, dolphin"
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue