This commit is contained in:
parent
4f7789c4a8
commit
ffbc2e5e72
3 changed files with 135 additions and 3 deletions
53
installs/desktop.toml
Normal file
53
installs/desktop.toml
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
# Desktop Install Template
|
||||||
|
|
||||||
|
# Drive Selection for Install
|
||||||
|
[drive]
|
||||||
|
# Device node for the EFI boot filesystem
|
||||||
|
boot = "/dev/null"
|
||||||
|
|
||||||
|
# Device node for the root filesystem
|
||||||
|
root = "/dev/null"
|
||||||
|
|
||||||
|
# Root filesystem encryption passphrase
|
||||||
|
# If this option is set the root filesystem will be encrypted with LUKS
|
||||||
|
encryption = "password"
|
||||||
|
|
||||||
|
# General configuration
|
||||||
|
[general]
|
||||||
|
# Preset
|
||||||
|
mode = "Desktop"
|
||||||
|
|
||||||
|
# System Locale
|
||||||
|
locale = "de_DE.UTF-8"
|
||||||
|
|
||||||
|
# Keymap
|
||||||
|
keyboard_layout = "de"
|
||||||
|
keyboard_variant = "mac"
|
||||||
|
|
||||||
|
# Timezone
|
||||||
|
timezone = "Europe/Berlin"
|
||||||
|
|
||||||
|
# Hostname
|
||||||
|
hostname = "navos"
|
||||||
|
|
||||||
|
# Root password
|
||||||
|
root_password = "root"
|
||||||
|
|
||||||
|
[pkg]
|
||||||
|
# Additional packages
|
||||||
|
pkg = [
|
||||||
|
"nano",
|
||||||
|
"micro"
|
||||||
|
]
|
||||||
|
|
||||||
|
# User configuration
|
||||||
|
# The `[[user]]` directive can be repeated to create multiple users.
|
||||||
|
[[user]]
|
||||||
|
# Username
|
||||||
|
name = "u"
|
||||||
|
|
||||||
|
# User password
|
||||||
|
password = "pass"
|
||||||
|
|
||||||
|
# Allow user to use `doas` as root
|
||||||
|
doas_root= true
|
|
@ -50,10 +50,10 @@ docker = true
|
||||||
# The `[[user]]` directive can be repeated to create multiple users.
|
# The `[[user]]` directive can be repeated to create multiple users.
|
||||||
[[user]]
|
[[user]]
|
||||||
# Username
|
# Username
|
||||||
name = "testuser"
|
name = "u"
|
||||||
|
|
||||||
# User password
|
# User password
|
||||||
password = "testpass"
|
password = "pass"
|
||||||
|
|
||||||
# Allow user to use `doas` as root
|
# Allow user to use `doas` as root
|
||||||
doas_root= true
|
doas_root= true
|
||||||
|
@ -79,7 +79,7 @@ sshd_config = "/etc/ssh/sshd_config"
|
||||||
key = "ssh-rsa ... user@host"
|
key = "ssh-rsa ... user@host"
|
||||||
|
|
||||||
# The users allowed to login with this key
|
# The users allowed to login with this key
|
||||||
users = ["testuser", "root"]
|
users = ["u", "root"]
|
||||||
|
|
||||||
# Ollama Configuration
|
# Ollama Configuration
|
||||||
# If `[ai]` is set, ollama will be installed and enabled.
|
# If `[ai]` is set, ollama will be installed and enabled.
|
||||||
|
|
79
installs/server.toml
Normal file
79
installs/server.toml
Normal file
|
@ -0,0 +1,79 @@
|
||||||
|
# Server Install Template
|
||||||
|
|
||||||
|
# Drive Selection for Install
|
||||||
|
[drive]
|
||||||
|
# Device node for the EFI boot filesystem
|
||||||
|
boot = "/dev/null"
|
||||||
|
|
||||||
|
# Device node for the root filesystem
|
||||||
|
root = "/dev/null"
|
||||||
|
|
||||||
|
# Root filesystem encryption passphrase
|
||||||
|
# If this option is set the root filesystem will be encrypted with LUKS
|
||||||
|
encryption = "password"
|
||||||
|
|
||||||
|
# General configuration
|
||||||
|
[general]
|
||||||
|
# Preset
|
||||||
|
mode = "Server"
|
||||||
|
|
||||||
|
# System Locale
|
||||||
|
locale = "de_DE.UTF-8"
|
||||||
|
|
||||||
|
# Keymap
|
||||||
|
keyboard_layout = "de"
|
||||||
|
keyboard_variant = "mac"
|
||||||
|
|
||||||
|
# Timezone
|
||||||
|
timezone = "Europe/Berlin"
|
||||||
|
|
||||||
|
# Hostname
|
||||||
|
hostname = "navos"
|
||||||
|
|
||||||
|
# Root password
|
||||||
|
root_password = "root"
|
||||||
|
|
||||||
|
[pkg]
|
||||||
|
# Additional packages
|
||||||
|
pkg = []
|
||||||
|
|
||||||
|
# Enable virtualization
|
||||||
|
virtualization = true
|
||||||
|
|
||||||
|
# Enable docker
|
||||||
|
docker = true
|
||||||
|
|
||||||
|
# User configuration
|
||||||
|
# The `[[user]]` directive can be repeated to create multiple users.
|
||||||
|
[[user]]
|
||||||
|
# Username
|
||||||
|
name = "u"
|
||||||
|
|
||||||
|
# User password
|
||||||
|
password = "pass"
|
||||||
|
|
||||||
|
# Allow user to use `doas` as root
|
||||||
|
doas_root= true
|
||||||
|
|
||||||
|
# Add user to Docker group
|
||||||
|
docker = true
|
||||||
|
|
||||||
|
# Add user to libvirt group
|
||||||
|
virtualization = true
|
||||||
|
|
||||||
|
# SSH Configuration
|
||||||
|
# If `[ssh]` is set, openssh will be installed and enabled.
|
||||||
|
[ssh]
|
||||||
|
# Config file for sshd
|
||||||
|
# This file will be copied to the new system
|
||||||
|
sshd_config = "/etc/ssh/sshd_config"
|
||||||
|
|
||||||
|
# Install a SSH keys
|
||||||
|
# To set multiple keys, repeat the `[[ssh.key]]` directive.
|
||||||
|
# Every key will be installed in the users respective `authorized_keys` file.
|
||||||
|
[[ssh.key]]
|
||||||
|
# The SSH Key
|
||||||
|
key = "ssh-rsa ... user@host"
|
||||||
|
|
||||||
|
# The users allowed to login with this key
|
||||||
|
users = ["u", "root"]
|
Loading…
Add table
Reference in a new issue