Compare commits
2
Commits
647415b549
...
48248e8c7d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
48248e8c7d | ||
|
|
36292c4f14 |
No files matched your search
@@ -82,6 +82,13 @@ in
|
|||||||
(lib.generators.mkLuaInline ''hl.dsp.exec_cmd("${pause-music}; ${dpms-lock}")'')
|
(lib.generators.mkLuaInline ''hl.dsp.exec_cmd("${pause-music}; ${dpms-lock}")'')
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
_args = [
|
||||||
|
"switch:on:Lid Switch"
|
||||||
|
(lib.generators.mkLuaInline ''hl.dsp.exec_cmd("${pkgs.procps}/bin/pidof hyprlock || { ${pause-music}; ${dpms-lock}; }")'')
|
||||||
|
{ locked = true; }
|
||||||
|
];
|
||||||
|
}
|
||||||
{
|
{
|
||||||
_args = [
|
_args = [
|
||||||
"SUPER + SHIFT + x"
|
"SUPER + SHIFT + x"
|
||||||
|
|||||||
@@ -40,6 +40,14 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
logind.settings.Login = {
|
||||||
|
HandleLidSwitch = "ignore";
|
||||||
|
HandleLidSwitchExternalPower = "ignore";
|
||||||
|
HandleLidSwitchDocked = "ignore";
|
||||||
|
HandleSuspendKey = "ignore";
|
||||||
|
HandleHibernateKey = "ignore";
|
||||||
|
};
|
||||||
|
|
||||||
tlp = {
|
tlp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|||||||
@@ -33,6 +33,12 @@
|
|||||||
platform = "ipu6epmtl";
|
platform = "ipu6epmtl";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.v4l2-relayd.instances.ipu6.input = {
|
||||||
|
pipeline = lib.mkForce "icamerasrc buffer-count=10";
|
||||||
|
width = 1920;
|
||||||
|
height = 1080;
|
||||||
|
};
|
||||||
|
|
||||||
systemd.services.v4l2-relayd-ipu6 = {
|
systemd.services.v4l2-relayd-ipu6 = {
|
||||||
preStart = lib.mkOverride 40 ''
|
preStart = lib.mkOverride 40 ''
|
||||||
mkdir -p "$(dirname "$V4L2_DEVICE_FILE")"
|
mkdir -p "$(dirname "$V4L2_DEVICE_FILE")"
|
||||||
|
|||||||
Reference in new issue
Block a user