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
| { | |
| description = "nixos vm flake"; | |
| inputs = { | |
| nixpkgs.url = "github:NixOS/nixpkgs/pull/443606/head"; | |
| # nixpkgs.url = "github:jnsgruk/nixpkgs/homepage-dashboard-1.4.3"; | |
| }; | |
| outputs = | |
| { |
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=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | |
| # Install and configure Parca Agent | |
| sudo snap install --classic --channel edge parca-agent | |
| sudo snap set parca-agent remote-store-bearer-token=DEADBEEF | |
| sudo snap set parca-agent off-cpu-threshold=1 | |
| sudo snap start parca-agent |
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 -euxo pipefail | |
| DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | |
| # Prepare machine for Juju deployments on K8s | |
| sudo snap install --classic concierge | |
| sudo concierge prepare -p k8s | |
| sudo apt-get install -y s3cmd | |
| sudo snap install --classic terraform |
This file has been truncated, but you can view the full file.
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
| signal time=1723028215.712831 sender=org.freedesktop.DBus -> destination=:1.156 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired | |
| string ":1.156" | |
| signal time=1723028215.712847 sender=org.freedesktop.DBus -> destination=:1.156 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost | |
| string ":1.156" | |
| method call time=1723028220.325340 sender=:1.147 -> destination=:1.39 serial=33 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify | |
| string "Signal" | |
| uint32 1460 | |
| string "" | |
| string "Laura" | |
| string "Foobar" |
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
| package main | |
| //go:generate bash -c "hugo -s ./webui --minify" | |
| import ( | |
| "embed" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "net/http" |
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
| diff --git a/Cargo.lock b/Cargo.lock | |
| new file mode 100644 | |
| index 0000000..1af7aaf | |
| --- /dev/null | |
| +++ b/Cargo.lock | |
| @@ -0,0 +1,3391 @@ | |
| +# This file is automatically @generated by Cargo. | |
| +# It is not intended for manual editing. | |
| +version = 3 | |
| + |
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
| image: nixos/unstable | |
| repositories: | |
| nixpkgs: https://nixos.org/channels/nixos-unstable | |
| environment: | |
| NIX_CONFIG: "experimental-features = nix-command flakes" | |
| sources: | |
| - https://github.com/jnsgruk/crafts-flake#sr-ht-tests | |
| tasks: | |
| - setup-system: | | |
| sudo nixos-rebuild switch --flake ./crafts-flake |
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
| { pkgs ? import <nixpkgs> { } }: | |
| (pkgs.buildFHSUserEnv { | |
| name = "toxy"; | |
| targetPkgs = pkgs: [ (pkgs.python3.withPackages (pp: with pp; [ tox ])) ]; | |
| runScript = "zsh"; | |
| }).env |
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
| -----BEGIN PGP SIGNED MESSAGE----- | |
| Hash: SHA512 | |
| This is a personal signature profile for Jon Seager. | |
| You can find Jon at https://jnsgr.uk. | |
| Verify this profile at https://keyoxide.org/sig. | |
| proof=https://hachyderm.io/@jnsgruk |
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
| terraform { | |
| required_providers { | |
| juju = { | |
| source = "juju/juju" | |
| version = "0.4.0" | |
| } | |
| } | |
| } | |
| provider "juju" {} |
NewerOlder