repositories

NixDaemon

NixOS pentest workstation as one flake — IceBreaker's successor

clonegit clone https://git.daemon-sec.xyz/NixDaemon.git
lid.luaLua8 lines566 Braw download
-- lid.lua — shortcuts/lid.lua from the vault. Only the hard-coded old home
-- (/home/daemon-sec) became o.bin.
-- Replace the stock lock/clamshell bindings with selectable lid handling.
hl.unbind("switch:on:Lid Switch")
hl.unbind("switch:off:Lid Switch")
o.bind("switch:on:Lid Switch", "Laptop lid closed", o.bin .. "/lid-control close", { locked = true })
o.bind("switch:off:Lid Switch", "Laptop lid opened", o.bin .. "/lid-control wake", { locked = true })
o.bind("SUPER + CTRL + F12", "Recover laptop display", o.bin .. "/lid-control wake", { locked = true })