add lockscreen

This commit is contained in:
2025-05-06 22:54:36 +02:00
parent 11358663fc
commit 23010ee036
13 changed files with 129 additions and 21 deletions

View File

@@ -31,6 +31,19 @@
stateVersion = "23.11";
};
systemd.user.services = {
idle-inhibitor = {
Unit = {
Description = "Presentation Mode";
};
Service = {
Type = "simple";
ExecStart = "systemd-inhibit --what=idle --who=Caffeine --why=Caffeine --mode=block sleep inf";
};
};
};
programs = { home-manager.enable = true; };
nixpkgs.config = {