spikespaz / dotfiles Goto Github PK
View Code? Open in Web Editor NEWMy NixOS dotfiles. Friends call it Bird OS.
License: The Unlicense
My NixOS dotfiles. Friends call it Bird OS.
License: The Unlicense
Perhaps this is best fixed with Unit.After
? Unfortunately the script doesn't take into account the possibility of multiple sessions. This should change, because currently the script just kills all instances of swaybg
unconditionally. It should keep track of the processes it starts, and only kill those.
I would like it if something were still there to click on (to open the corresponding settings dialog).
Secure boot is DISABLED
The swap device is set in filesystems.nix
:
https://github.com/spikespaz/dotfiles/blob/master/systems/jacob-thinkpad/filesystems.nix#L45
The swap partition is created with partition.sh
:
https://github.com/spikespaz/dotfiles/blob/master/scripts/partition.sh#L20
The size of the swap partition is determined by the total physical memory reported by /proc/memtotal
, and even has an extra 2 GiB. Is this enough?
What programs would show logs to help debug this?
logind is configured to suspend-then-hibernate
for idle, power button, and lid close.
https://github.com/spikespaz/dotfiles/blob/master/systems/jacob-thinkpad/powersave.nix#L165
UPower is configured to Hibername
when power level is critical.
https://github.com/spikespaz/dotfiles/blob/master/systems/jacob-thinkpad/powersave.nix#L183
Manually triggering hibernation with systemctl hibernate
DOES work, it takes a while so I assume that it does dump RAM.
It used to work. Now I see Call to Hibernate failed: Sleep verb "hibernate" not supported
.
I have yet to confirm that suspend-then-hibernate
works, need to decrease the delay and test it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.