Compare commits
2 commits
3a8ae4aa33
...
23cc0fcc02
Author | SHA1 | Date | |
---|---|---|---|
23cc0fcc02 | |||
880c7b90a1 |
4 changed files with 27 additions and 8 deletions
|
@ -33,7 +33,7 @@ ARG SOURCE_IMAGE="base"
|
||||||
# - stable-zfs
|
# - stable-zfs
|
||||||
# - stable-nvidia-zfs
|
# - stable-nvidia-zfs
|
||||||
# - (and the above with testing rather than stable)
|
# - (and the above with testing rather than stable)
|
||||||
ARG SOURCE_SUFFIX="-main"
|
ARG SOURCE_SUFFIX="-nvidia"
|
||||||
|
|
||||||
## SOURCE_TAG arg must be a version built for the specific image: eg, 39, 40, gts, latest
|
## SOURCE_TAG arg must be a version built for the specific image: eg, 39, 40, gts, latest
|
||||||
ARG SOURCE_TAG="latest"
|
ARG SOURCE_TAG="latest"
|
||||||
|
|
14
build.sh
14
build.sh
|
@ -6,6 +6,9 @@ RELEASE="$(rpm -E %fedora)"
|
||||||
|
|
||||||
### Add repos
|
### Add repos
|
||||||
|
|
||||||
|
# Add niri repo
|
||||||
|
curl -Lo /etc/yum.repos.d/yalter-niri-fedora-"${RELEASE}".repo https://copr.fedorainfracloud.org/coprs/yalter/niri/repo/fedora-"${RELEASE}"/yalter-niri-fedora-"${RELEASE}".repo
|
||||||
|
|
||||||
# Add Staging repo
|
# Add Staging repo
|
||||||
curl -Lo /etc/yum.repos.d/ublue-os-staging-fedora-"${RELEASE}".repo https://copr.fedorainfracloud.org/coprs/ublue-os/staging/repo/fedora-"${RELEASE}"/ublue-os-staging-fedora-"${RELEASE}".repo
|
curl -Lo /etc/yum.repos.d/ublue-os-staging-fedora-"${RELEASE}".repo https://copr.fedorainfracloud.org/coprs/ublue-os/staging/repo/fedora-"${RELEASE}"/ublue-os-staging-fedora-"${RELEASE}".repo
|
||||||
|
|
||||||
|
@ -60,12 +63,23 @@ WantedBy=default.target
|
||||||
EOF
|
EOF
|
||||||
done
|
done
|
||||||
|
|
||||||
|
#### Setup niri deps
|
||||||
|
|
||||||
|
mkdir /usr/lib/systemd/user/niri.service.wants
|
||||||
|
ln -s /usr/lib/systemd/user/mako.service /usr/lib/systemd/user/niri.service.wants/
|
||||||
|
ln -s /usr/lib/systemd/user/waybar.service /usr/lib/systemd/user/niri.service.wants/
|
||||||
|
ln -s /usr/lib/systemd/user/swayidle.service /usr/lib/systemd/user/niri.service.wants/
|
||||||
|
ln -s /usr/lib/systemd/user/kanshi.service /usr/lib/systemd/user/niri.service.wants/
|
||||||
|
|
||||||
#### Services
|
#### Services
|
||||||
|
|
||||||
# systemctl enable docker.socket
|
# systemctl enable docker.socket
|
||||||
systemctl enable podman.socket
|
systemctl enable podman.socket
|
||||||
systemctl enable podman-auto-update.timer
|
systemctl enable podman-auto-update.timer
|
||||||
# systemctl enable tailscaled.service
|
# systemctl enable tailscaled.service
|
||||||
|
|
||||||
|
systemctl enable -f --global niri.service
|
||||||
|
|
||||||
systemctl enable -f --global flatpak-setup.service
|
systemctl enable -f --global flatpak-setup.service
|
||||||
systemctl enable -f --global azure-topgrade.service
|
systemctl enable -f --global azure-topgrade.service
|
||||||
systemctl enable -f --global azure-cli.target
|
systemctl enable -f --global azure-cli.target
|
||||||
|
|
8
files/usr/lib/systemd/user/swayidle.service
Normal file
8
files/usr/lib/systemd/user/swayidle.service
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[Unit]
|
||||||
|
PartOf=graphical-session.target
|
||||||
|
After=graphical-session.target
|
||||||
|
Requisite=graphical-session.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/swayidle -w
|
||||||
|
Restart=on-failure
|
11
packages
11
packages
|
@ -1,6 +1,6 @@
|
||||||
# Compositor
|
# Compositor
|
||||||
xorg-x11-server-Xwayland
|
xorg-x11-server-Xwayland
|
||||||
river
|
niri
|
||||||
|
|
||||||
# apps
|
# apps
|
||||||
foot
|
foot
|
||||||
|
@ -8,17 +8,14 @@ mako
|
||||||
waybar
|
waybar
|
||||||
kanshi
|
kanshi
|
||||||
fuzzel
|
fuzzel
|
||||||
|
swaybg
|
||||||
# Fingerprint
|
swayidle
|
||||||
|
swaylock
|
||||||
|
|
||||||
# fonts
|
# fonts
|
||||||
nerd-fonts
|
nerd-fonts
|
||||||
fontawesome-fonts-all
|
fontawesome-fonts-all
|
||||||
|
|
||||||
# lock
|
|
||||||
swayidle
|
|
||||||
swaylock
|
|
||||||
|
|
||||||
# utility
|
# utility
|
||||||
slurp
|
slurp
|
||||||
grimshot
|
grimshot
|
||||||
|
|
Loading…
Reference in a new issue