Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View ghuntley's full-sized avatar

Geoffrey Huntley ghuntley

View GitHub Profile
ghuntley /
Last active May 4, 2023 21:16
a rough prototype for running as a nixos system service


  1. Now that coder is in nixpkgs at
  2. The next step is to enable running coder in NixOS via services.coder.enable = true;
  3. Thus design configuration options such as
  4. Refer to for an example of what is to be achieved.

next steps

  1. What configuration options should we expose vs encouraging usage of extraFlags?
ghuntley / configuration.nix
Last active May 6, 2023 16:27
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, lib, pkgs, ... }:
imports =
terraform {
required_providers {
coder = {
source = "coder/coder"
version = "0.4.9"
docker = {
source = "kreuzwerker/docker"
version = "~> 2.20.2"
ghuntley / gitpod.yml reference
Last active September 24, 2022 21:09
Iterating on a reference Gitpod.yml that serves as a verbose 'documentation as code' which is intended to explain possibilities and how to configure them without folks needing to open a browser. Leave feedback on if you got any.
## Learn more about this file at ''
## This '.gitpod.yml' file when placed at the root of a project instructs
## Gitpod how to prepare & build the project, start development environments
## and configure continuous prebuilds. Prebuilds when enabled builds a project
## like a CI server so you can start coding right away - no more waiting for
## dependencies to download and builds to finish when reviewing pull-requests
## or hacking on something new.
## With Gitpod you can develop software from any device (even iPads) via
content-type: application/json
accept: application/json;api-version=3.0-preview.1
accept-encoding: gzip
filters: [
criteria: [
2021-10-27 13:22:54.5507|INFO|Microsoft.Oryx.BuildScriptGeneratorCli.CommandBase|Oryx command line: /opt/buildscriptgen/GenerateBuildScript.dll build --manifest-dir /workspaces/.oryx -p virtualenv_name=.venv --log-file /workspaces/.oryx/build.log /workspaces/new
2021-10-27 13:22:54.6711|DEBUG|Microsoft.Oryx.BuildScriptGenerator.DefaultBuildScriptGenerator|Available checkers: 5
2021-10-27 13:22:54.6808|DEBUG|Microsoft.Oryx.Detector.Node.NodeDetector|Could not find package.json/package-lock.json/yarn.lock in repo
2021-10-27 13:22:54.6875|DEBUG|Microsoft.Oryx.Detector.Node.NodeDetector|Could not find typical Node.js files in repo
2021-10-27 13:22:54.6875|DEBUG|Microsoft.Oryx.Detector.Node.NodeDetector|App in repo is not a NodeJS app
2021-10-27 13:22:54.6915|INFO|Microsoft.Oryx.Detector.Python.PythonDetector|Cound not find requirements.txt at the root of the repo.
2021-10-27 13:22:54.6942|DEBUG|Microsoft.Oryx.Detector.Python.PythonDetector|Could not find file 'runtime.txt' in source repo
2021-10-27 13:22:54.6969
Do Not Translate or Localize
This software incorporates material from third parties. Microsoft makes certain
open source code available at, or you may
send a check or money order for US $5.00, including the product name, the open
source component name, and version number, to:
Source Code Compliance Team
Microsoft Corporation

To Microsoft Developer Division Leadership,

Those of us who work in the Microsoft Developer Division (DevDiv) would like to respond to the recent controversy surrounding the pulling and reinstating of the "dotnet watch" feature of dotnet 6. While we are grateful that cooler heads prevailed and "dotnet watch" was preserved, we do not feel confident that this will not happen again?quite the opposite.

To show this point, we will look at the recent blog post by Scott Hunter ( Based on everything we know of the situation and how the Developer Division operates, little of what Scott wrote seems true and contradicts what happened. To be clear, this is not an attack on Scott Hunter; and instead, it shows how far others are willing to go to protect management.

"As a team, we are committed to .NET being an open platform and doing our development in the open. The very fact that we decided to adopt an open posture by default from the start for dev