Skip to content

Commit 7d82ce3

Browse files
committed
Start customizing
1 parent 587a0a2 commit 7d82ce3

File tree

6 files changed

+43
-6
lines changed

6 files changed

+43
-6
lines changed

cosign.pub

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
atomic-desktop.pub

files/scripts/10-base.sh

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,26 @@
22

33
set -xeuo pipefail
44

5-
# Start customizing your image here
5+
# Get rid of some stuff we don't need
6+
dnf autoremove -y \
7+
PackageKit
68

7-
# Examples:
8-
# dnf install -y 'dnf-command(config-manager)'
9-
# dnf config-manager --set-enabled crb
9+
# Start installing utilities and tools
10+
dnf install -y \
11+
gnome-shell-extension-{appindicator,dash-to-dock,blur-my-shell} \
12+
ncdu \
13+
powertop \
14+
fastfetch \
15+
systemd-{resolved,container,oomd} \
16+
libcamera{,-{v4l2,gstreamer,tools}} \
17+
jetbrains-mono-fonts-all
1018

11-
echo "Hello, Atomic AlmaLinux respin world!."
19+
# Now let's go for the main packages
20+
dnf -y install \
21+
distrobox \
22+
buildah
23+
24+
systemctl enable rpm-ostree-countme.service
25+
26+
# Enable polkit rules for fingerprint sensors via fprintd
27+
authselect enable-feature with-fingerprint

files/scripts/20-preferences.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
3+
set -xeuo pipefail
4+
5+
# Set some bash aliases
6+
cat << 'EOF' > /etc/profile.d/bash_aliases.sh
7+
alias ls='ls --color=auto'
8+
alias ll='ls -la'
9+
EOF

files/scripts/30-hibernate.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
3+
set -xeuo pipefail
4+
5+
# Add resume module so that hibernation works
6+
echo "add_dracutmodules+=\" resume \"" >/etc/dracut.conf.d/resume.conf
7+
KERNEL_SUFFIX=""
8+
QUALIFIED_KERNEL="$(rpm -qa | grep -P 'kernel-(|'"$KERNEL_SUFFIX"'-)(\d+\.\d+\.\d+)' | sed -E 's/kernel-(|'"$KERNEL_SUFFIX"'-)//' | tail -n 1)"
9+
/usr/bin/dracut --no-hostonly --kver "$QUALIFIED_KERNEL" --reproducible --zstd -v --add ostree -f "/lib/modules/$QUALIFIED_KERNEL/initramfs.img"

files/system/etc/motd.d/welcome.motd

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[Login]
2+
HandleLidSwitch=suspend-then-hibernate
3+
SleepOperation=suspend-then-hibernate

0 commit comments

Comments
 (0)