Add dm-crypt and fstab configuration files.

This commit is contained in:
inference 2023-03-07 01:07:51 +00:00
parent 6b24195c6e
commit 00cf6be528
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M
2 changed files with 48 additions and 0 deletions

24
desktop/dmcrypt Normal file
View File

@ -0,0 +1,24 @@
# Inferencium
# dm-crypt - Configuration
# Copyright 2023 Jake Winters
# SPDX-License-Identifier: BSD-3-Clause-Clear
# Version: 0.0.0.0
# Global
## How long to wait for each timeout (in seconds)
dmcrypt_key_timeout=1
## Max number of checks to perform (see dmcrypt_key_timeout)
#dmcrypt_max_timeout=300
# Number of password retries
dmcrypt_retries=5
# swap
## These should come first so no keys make their way into unencrypted swap.
swap=swap
source='/dev/nvme0n1p2'
options='-c aes-xts-plain64 -s 512 -h sha512 -d /dev/urandom'

24
desktop/fstab Normal file
View File

@ -0,0 +1,24 @@
# Inferencium
# fstab - Configuration
# Copyright 2023 Jake Winters
# SPDX-License-Identifier: BSD-3-Clause-Clear
# Version: 1.0.0.1
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# Local filesystems
## boot
PARTUUID=[REDACTED] /boot/ ext4 noauto,noatime 1 2
## swap
/dev/mapper/swap none swap defaults 0 0
## root
UUID=[REDACTED] / btrfs acl,barrier,datacow,datasum 0 1
## home
xa000.inferencium.net:/srv/nfs/home/ /home/ nfs4 rw,_netdev,vers=4 0 0
## tmpfs - Portage
tmpfs /var/tmp/portage/ tmpfs size=8G,uid=portage,gid=portage,mode=775,nosuid,noatime,nodev 0 0