clean up from old fedora image
This commit is contained in:
parent
fd89f63318
commit
d5fbabd614
30 changed files with 1 additions and 686 deletions
|
|
@ -1,8 +0,0 @@
|
|||
#!/usr/bin/python3 -u
|
||||
|
||||
import os
|
||||
import datetime
|
||||
|
||||
stream = os.popen('btrfs subvolume snapshot /var/home /var/.snapshot.home/' + datetime.datetime.now().strftime("%Y.%m.%d_%H:%M:%S") + '/')
|
||||
output = stream.read()
|
||||
print(output)
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
podman rm -f general-cachyos
|
||||
podman rm -f general
|
||||
podman rm -f development
|
||||
podman rm -f lbry
|
||||
|
||||
distrobox assemble create --file /etc/distrobox.ini
|
||||
|
||||
podman pull ghcr.io/andersrh/containers/fedora-toolbox/general:main
|
||||
distrobox create -i ghcr.io/andersrh/containers/fedora-toolbox/general:main --home ~/containers/general -n general
|
||||
|
||||
distrobox enter general -- distrobox-export --app x2goclient
|
||||
|
||||
distrobox enter development -- distrobox-export --app qtcreator
|
||||
distrobox enter development -- distrobox-export --app codium
|
||||
|
||||
distrobox enter lbry -- distrobox-export --app lbry
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
[Unit]
|
||||
Description=Prepare nix mount points
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStartPre=chattr -i /
|
||||
ExecStart=/bin/sh -c "mkdir -p /nix"
|
||||
ExecStart=/bin/sh -c "mkdir -p /var/lib/nix"
|
||||
ExecStart=/bin/sh -c "mount --bind /var/lib/nix /nix"
|
||||
# We need to restart systemd and load the nix-daemon again
|
||||
# as the nix-daemon files are actually inside the /nix folder
|
||||
# which hasn't been mounted until now
|
||||
ExecStart=/bin/sh -c "systemctl daemon-reload"
|
||||
# This will fail the first time as we haven't installed nix yet
|
||||
ExecStart=-/bin/sh -c "systemctl start nix-daemon.socket"
|
||||
ExecStopPost=chattr +i /
|
||||
|
||||
[Install]
|
||||
WantedBy=local-fs.target
|
||||
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
# HDD
|
||||
ACTION=="add|change", KERNEL=="sd[a-z]*", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq"
|
||||
|
||||
# SSD
|
||||
ACTION=="add|change", KERNEL=="sd[a-z]*|mmcblk[0-9]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="mq-deadline"
|
||||
|
||||
# NVMe SSD
|
||||
ACTION=="add|change", KERNEL=="nvme[0-9]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="adios"
|
||||
Loading…
Add table
Add a link
Reference in a new issue