Compare commits
No commits in common. "b0bff4d4bb3e41e11e60c54e25aa96d4bd8d013b" and "f987f94c183b78825899b8e6214dd44e17afc810" have entirely different histories.
b0bff4d4bb
...
f987f94c18
4 changed files with 12 additions and 32 deletions
18
build.sh
18
build.sh
|
@ -42,14 +42,6 @@ pip install --prefix=/usr topgrade
|
||||||
# Installed via flatpak
|
# Installed via flatpak
|
||||||
rpm-ostree override remove firefox firefox-langpacks
|
rpm-ostree override remove firefox firefox-langpacks
|
||||||
|
|
||||||
#### os-release
|
|
||||||
|
|
||||||
sed -i '/fedoraproject.org/d' /usr/lib/os-release
|
|
||||||
sed -i 's/Fedora Linux/Azure/g' /usr/lib/os-release
|
|
||||||
sed -i 's/fedoraproject/babariviere/g' /usr/lib/os-release
|
|
||||||
sed -i 's/fedora/azure/g' /usr/lib/os-release
|
|
||||||
sed -i '/REDHAT/d' /usr/lib/os-release
|
|
||||||
|
|
||||||
#### Quadlets
|
#### Quadlets
|
||||||
|
|
||||||
mkdir -p /etc/containers/systemd/users
|
mkdir -p /etc/containers/systemd/users
|
||||||
|
@ -64,13 +56,11 @@ QUADLET_TARGETS=(
|
||||||
for i in "${QUADLET_TARGETS[@]}"; do
|
for i in "${QUADLET_TARGETS[@]}"; do
|
||||||
cat > "/usr/lib/systemd/user/${i}.target" <<EOF
|
cat > "/usr/lib/systemd/user/${i}.target" <<EOF
|
||||||
[Unit]
|
[Unit]
|
||||||
Description="target for ${i} quadlet
|
Description=${i}"target for ${i} quadlet
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
printf "\n\n[Install]\nWantedBy=%s.target" "$i" >> /etc/containers/systemd/users/"$i".container
|
|
||||||
done
|
done
|
||||||
|
|
||||||
#### Setup niri deps
|
#### Setup niri deps
|
||||||
|
@ -83,12 +73,16 @@ ln -s /usr/lib/systemd/user/kanshi.service /usr/lib/systemd/user/niri.service.wa
|
||||||
|
|
||||||
#### Services
|
#### Services
|
||||||
|
|
||||||
|
# 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 greetd.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 azure-system-setup.service
|
systemctl enable azure-system-setup.service
|
||||||
systemctl enable azure-groups.service
|
systemctl enable azure-groups.service
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
[terminal]
|
|
||||||
# The VT to run the greeter on. Can be "next", "current" or a number
|
|
||||||
# designating the VT.
|
|
||||||
vt = 1
|
|
||||||
|
|
||||||
# The default session, also known as the greeter.
|
|
||||||
[default_session]
|
|
||||||
|
|
||||||
# `agreety` is the bundled agetty/login-lookalike. You can replace `/bin/sh`
|
|
||||||
# with whatever you want started, such as `sway`.
|
|
||||||
command = "tuigreet --cmd 'bash -i -c niri-session'"
|
|
||||||
|
|
||||||
# The user to run the command as. The privileges this user must have depends
|
|
||||||
# on the greeter. A graphical greeter may for example require the user to be
|
|
||||||
# in the `video` group.
|
|
||||||
user = "greetd"
|
|
5
files/etc/profile.d/startniri.sh
Normal file
5
files/etc/profile.d/startniri.sh
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||||
|
exec niri-session
|
||||||
|
fi
|
3
packages
3
packages
|
@ -1,8 +1,5 @@
|
||||||
# Compositor
|
# Compositor
|
||||||
xorg-x11-server-Xwayland
|
xorg-x11-server-Xwayland
|
||||||
greetd
|
|
||||||
greetd-selinux
|
|
||||||
tuigreet
|
|
||||||
niri
|
niri
|
||||||
|
|
||||||
# apps
|
# apps
|
||||||
|
|
Loading…
Reference in a new issue