Last active
May 22, 2019 19:35
-
-
Save dblandin/68889a082802f0249900b816f739040a to your computer and use it in GitHub Desktop.
systemd-boot config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title Arch Linux | |
linux /vmlinuz-linux | |
initrd /initramfs-linux.img | |
options cryptdevice=UUID=c064a135-4764-4ca8-9144-460d0395fd98:archlvm root=/dev/mapper/archvg-root quiet rw resume=/dev/mapper/archvg-swap |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default arch | |
timeout 5 | |
editor 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/systemd/system/docker.service.d/override.conf | |
[Service] | |
ExecStart= | |
ExecStart=/usr/bin/dockerd --data-root=/home/devon/docker -H fd:// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/etc/systemd/system/sleep.target.wants/[email protected] | |
[Unit] | |
Description=Lock X session using slock for user %i | |
Before=sleep.target | |
[Service] | |
User=%i | |
Environment=DISPLAY=:0 | |
ExecStartPre=/usr/bin/xset dpms force suspend | |
ExecStart=/usr/bin/slock | |
[Install] | |
WantedBy=sleep.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment