style: apply STYLE.md to all files
Give every file a header (title, empty line, explanation), wrap comments at 80 columns and keep them to the why. Only comments change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
32 files changed
+191
-113
No files matched your search
@@ -1,4 +1,7 @@
|
||||
# DHCP on the real network cards. Kind=!* skips virtual links.
|
||||
# Network
|
||||
#
|
||||
# DHCP on the real network cards. Kind=!* skips virtual links such as those of
|
||||
# containers.
|
||||
[Match]
|
||||
Type=ether
|
||||
Kind=!*
|
||||
|
||||
@@ -1,8 +1,13 @@
|
||||
# Services enabled in the image (mkosi runs systemctl preset-all). Fedora disables getty@.service, the
|
||||
# login on the screen (tty1, and tty2-6 through its autovt@ alias); this file sorts first, so it wins.
|
||||
# Enabled services
|
||||
#
|
||||
# mkosi runs systemctl preset-all, which applies this file. It sorts before
|
||||
# Fedora's presets, so it wins where they disagree.
|
||||
|
||||
enable systemd-networkd.service
|
||||
enable systemd-resolved.service
|
||||
enable sshd.service
|
||||
# Fedora disables the login on the screen (tty1, and tty2-6 through its
|
||||
# autovt@ alias).
|
||||
enable getty@.service
|
||||
enable agent-setup@.service tty1 ttyS0
|
||||
enable etc-shadow.mount
|
||||
@@ -10,8 +15,8 @@ enable agent-boot.service
|
||||
enable claude-remote.path
|
||||
enable systemd-sysupdate-update.timer
|
||||
enable systemd-sysupdate-reboot.timer
|
||||
# Fedora enables these, but they do nothing here: no PAM or crypto changes on a read-only /etc,
|
||||
# no system or config extensions.
|
||||
# Fedora enables these, but they do nothing here: no PAM or crypto changes on a
|
||||
# read-only /etc, and no system or config extensions.
|
||||
disable authselect-apply-changes.service
|
||||
disable fips-crypto-policy-overlay.service
|
||||
disable systemd-sysext.service
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Applies the setup answers at every boot (see /usr/libexec/agent-boot). Before the setup is done
|
||||
# there are none; agent-setup starts this when it is.
|
||||
# Apply setup
|
||||
#
|
||||
# Runs /usr/libexec/agent-boot at every boot. Before the setup is done there
|
||||
# is nothing to apply, so agent-setup starts this once it is.
|
||||
[Unit]
|
||||
Description=Apply agent setup
|
||||
ConditionPathExists=/var/lib/agent/hostname
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
# First boot: asks for the root password, hostname and ssh key, on the screen (tty1) and the serial
|
||||
# console (ttyS0) at once; whichever is answered first stops the other.
|
||||
# First-boot setup
|
||||
#
|
||||
# Runs /usr/libexec/agent-setup on the screen (tty1) and the serial console
|
||||
# (ttyS0) at once, so it can be answered on either. Whichever is answered first
|
||||
# stops the other.
|
||||
[Unit]
|
||||
Description=Agent first-boot setup on %I
|
||||
ConditionPathExists=!/var/lib/agent/hostname
|
||||
@@ -14,7 +17,7 @@ StandardOutput=tty
|
||||
TTYPath=/dev/%I
|
||||
TTYReset=yes
|
||||
TTYVHangup=yes
|
||||
# Answering on one console stops the setup on the other (SIGTERM), which is no failure.
|
||||
# Being stopped by the other console is not a failure.
|
||||
SuccessExitStatus=SIGTERM
|
||||
|
||||
[Install]
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
# Starts Claude (Remote Control) once it is logged in: at boot, or when the user first logs in.
|
||||
# Start Claude when logged in
|
||||
#
|
||||
# Starts claude-remote.service once Claude has a login: at boot, or as soon as
|
||||
# the user first logs in.
|
||||
[Unit]
|
||||
Description=Start Claude Remote Control once logged in
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
# Claude Code, in the background, controlled from claude.ai/code or the Claude app (Remote Control).
|
||||
# Works in Claude's home. Started by claude-remote.path once Claude is logged in.
|
||||
# Claude Remote Control
|
||||
#
|
||||
# Runs Claude Code in the background, in Claude's home, so it can be used from
|
||||
# claude.ai/code or the Claude app. claude-remote.path starts it once Claude is
|
||||
# logged in.
|
||||
[Unit]
|
||||
Description=Claude Code Remote Control
|
||||
Wants=network-online.target user@1000.service
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
# The root password. /etc is read-only, so agent-setup writes the shadow file to /var and this
|
||||
# Root password
|
||||
#
|
||||
# /etc is read-only, so agent-setup writes the shadow file to /var and this
|
||||
# mounts it over /etc/shadow.
|
||||
[Unit]
|
||||
Description=Root password from /var
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
# The host key is made by agent-boot, once the setup is done; agent-setup then starts sshd.
|
||||
# sshd after setup
|
||||
#
|
||||
# sshd needs the host key, which agent-boot makes once the setup is done.
|
||||
# agent-setup then starts sshd.
|
||||
[Unit]
|
||||
After=agent-boot.service
|
||||
ConditionPathExists=/var/lib/agent/ssh_host_ed25519_key
|
||||
Reference in new issue
Block a user