Skip to content

Instantly share code, notes, and snippets.

View Roxxers's full-sized avatar
🏳️‍⚧️

Roxie Gibson Roxxers

🏳️‍⚧️
  • UK
  • 06:04 (UTC +01:00)
View GitHub Profile
@Roxxers
Roxxers / docker_remote.go
Created July 16, 2021 07:02 — forked from agbaraka/docker_remote.go
Access remote docker daemon via ssh using Golang Docker SDK
package main
import (
"context"
"fmt"
"github.com/docker/cli/cli/connhelper"
"github.com/docker/docker/api/types"
"github.com/docker/docker/client"
"net/http"
"os"
@Roxxers
Roxxers / luks-encrypted-root-on-nixos.org
Created November 15, 2020 17:46 — forked from walkermalling/luks-encrypted-root-on-nixos.org
Nix Setup with LUKS encrypted root

Setting up NixOs with LUKS encrypted root

Here are my working notes on getting a system up and running.

WARNING: You can run into a hidden problem that will prevent a correct partition setup and /etc/nixos/configuration.nix from working: if you are setting up a UEFI system, then you need to make sure you boot into the NixOS installation from the UEFI partition of the bootable media. You may have to enter your BIOS boot selection menu to verify this. For example, if you setup a NixOS installer image on a flash drive, your BIOS menu may display several boot options from that flash drive: choose the one explicitly labeled with “UEFI”.

References

I used these resources: