Closed aleeusgr closed 8 months ago
Hello!
I recently realized the value of NixOS as a samurai weapon: iterative improvement of the personal process and environment.
I am looking to introduce a feature: automatic shutdown on a timer.
In a perfect world I would like my system to ask me how long I am planning to work for, but for now a simple shutdown without saving anything is ok.
The simplest way would be just to write a shell script and run it when I boot up.
But knowing the nix community, it is likely someone had already thought about this.
Can you recommend a solution?
Thank you!
With something like OnBootSec=3600 (or whatever)
OnBootSec=3600
So far experimenting with the zoom level on the shell was the most significant change. Screenspace is the other.
Hello!
I recently realized the value of NixOS as a samurai weapon: iterative improvement of the personal process and environment.
I am looking to introduce a feature: automatic shutdown on a timer.
In a perfect world I would like my system to ask me how long I am planning to work for, but for now a simple shutdown without saving anything is ok.
The simplest way would be just to write a shell script and run it when I boot up.
But knowing the nix community, it is likely someone had already thought about this.
Can you recommend a solution?
Thank you!
With something like
OnBootSec=3600
(or whatever)