This file contains 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 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 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 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 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 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 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 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 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)" |
This file contains 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
Jan 16 09:14:38 vanilla vso[2119]: usr/sbin/vcstime | |
Jan 16 09:14:38 vanilla vso[2119]: usr/sbin/vdpa | |
-- Boot 82bbc5073776440dbf3090d1f03c197d -- | |
Jan 16 09:26:31 vanilla systemd[1]: Starting VSO Auto Update... | |
Jan 16 09:26:31 vanilla vso[783]: WARNING: ___apt___ does not have a stable CLI interface. Use with caution in scripts. | |
Jan 16 09:26:31 vanilla vso[783]: Ign:1 http://archive.ubuntu.com/ubuntu kinetic InRelease | |
Jan 16 09:26:31 vanilla vso[783]: Ign:2 https://apt.syncthing.net syncthing InRelease | |
Jan 16 09:26:31 vanilla vso[783]: Ign:3 https://pkgs.tailscale.com/stable/ubuntu kinetic InRelease | |
Jan 16 09:26:31 vanilla vso[783]: Ign:4 http://ppa.launchpad.net/vanilla-os/stable/ubuntu kinetic InRelease | |
Jan 16 09:26:31 vanilla vso[783]: Ign:5 http://archive.ubuntu.com/ubuntu kinetic-updates InRelease |
NewerOlder