power off

This commit is contained in:
nora 2025-06-29 18:44:04 +02:00
parent c93922931a
commit 77e8e412b5
3 changed files with 9 additions and 4 deletions

View file

@ -52,6 +52,13 @@ in
spotify
# rustup from nix for rust :)
rustup
(pkgs.writeShellApplication {
name = "lock-and-power-off-screen";
text = ''
niri msg action power-off-monitors
exec swaylock
'';
})
] ++ import ./common-packages.nix { inherit pkgs inputs; };
# Nicely reload system units when changing configs