This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo bootc switch ghcr.io/ublue-os/bluefin-dx:beta | |
layers already present: 2; layers needed: 70 (4.7 GB) | |
Fetched layers: 4.35 GiB in 2 minutes (32.22 MiB/s) /proc/self/fd/30/usr/etc/selinux/targeted/contexts/files/file_contexts.bin: line 1 error due to: Non-ASCII characters found | |
/proc/self/fd/30/usr/etc/selinux/targeted/contexts/files/file_contexts.homedirs.bin: line 1 error due to: Non-ASCII characters found | |
⠈ Deploying /proc/self/fd/24/usr/etc/selinux/targeted/contexts/files/file_contexts.bin: line 1 error due to: Non-ASCII characters found | |
/proc/self/fd/24/usr/etc/selinux/targeted/contexts/files/file_contexts.homedirs.bin: line 1 error due to: Non-ASCII characters found | |
⠈ Deploying | |
(bootc:22581): GLib-CRITICAL **: 15:35:26.687: g_atomic_ref_count_dec: assertion 'old_va |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Service] | |
ExecStart= | |
ExecStart=/usr/libexec/incus/incusd activateifneeded |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
set -e | |
# This script is used to create incremental snapshots of the given btrfs volume. | |
# capture today's date | |
today=$(date +%Y%m%d) | |
# use yesterday's as base for incremental snapshot | |
yesterday=$(date -d "yesterday" +%Y%m%d) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# install a "feature" from the devcontainers/features repo outside of a container | |
# requires git, jq | |
# for this to work well, you should already have a user with uid/gid 1000 | |
FEATUREROOT="${FEATUREROOT:-"/opt/features"}" | |
FEATUREREPO="${FEATUREREPO:-"https://github.com/devcontainers/features"}" | |
echo $FEATUREROOT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config: | |
raw.idmap: both 1000 1000 | |
security.nesting: "true" | |
user.user-data: | | |
#cloud-config | |
package_update: true | |
package_upgrade: true | |
package_reboot_if_required: true | |
packages: | |
- pulseaudio-utils |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Installs the Nix package manager (https://nixos.org/nix/) inside an LXD | |
# container. | |
#set -o xtrace | |
image=images:ubuntu/jammy | |
if [ "$#" -eq 1 ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang | |
WORKDIR /tmp | |
RUN git clone --recursive https://github.com/vanilla-os/apx && cd apx | |
COPY Makefile /tmp/apx/Makefile | |
RUN cd apx && make build && make install | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"aliases": { | |
"bluefin": "cd ~/projects/ublue/bluefin", | |
"cdfleek": "cd ~/projects/ublue/fleek", | |
"fleeks": "cd ~/.local/share/fleek", | |
"gcb": "git checkout -b", | |
"gitmain": "git checkout main && git pull", | |
"projects": "cd ~/projects", | |
"ublue": "cd ~/projects/ublue" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
dir="$(mktemp -d)" | |
pushd . | |
cd "${dir}" | |
tarball="$(curl 'https://pkgs.tailscale.com/stable/?mode=json' | /home/bjk/.nix-profile/bin/jq -r .Tarballs.amd64)" | |
version="$(echo ${tarball} | cut -d_ -f2)" |
NewerOlder