From 278f52ea86f41b04ef079a371c9909560b103f75 Mon Sep 17 00:00:00 2001 From: technofab Date: Mon, 7 Oct 2024 13:26:03 +0200 Subject: [PATCH] docs(README): add some infos and a note regarding !1 --- README.md | 14 ++++++++++++++ flake.lock | 6 +++--- flake.nix | 7 ++++++- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 950a83c..3411a76 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,16 @@ # Coder Templates +Templates for [Coder](https://coder.com), built with Nix (Terranix). + +> [!NOTE] +> !1 changed how the docker image is built. +> If `nix store gc` results in `/nix/var/nix/profiles/default` being deleted +> you might have to clear the /nix persistent volume to fix it. See the +> merge request's comments for more information. + +## Templates + +- Nix Kubernetes + > provisions a Coder workspace on Kubernetes, running a Nix-built image, + > which also contains Nix and supports Dotfiles management using home-manager. + > Nix-ception ;P diff --git a/flake.lock b/flake.lock index 2117857..c89bb04 100644 --- a/flake.lock +++ b/flake.lock @@ -642,11 +642,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1713805509, - "narHash": "sha256-YgSEan4CcrjivCNO5ZNzhg7/8ViLkZ4CB/GrGBVSudo=", + "lastModified": 1728249353, + "narHash": "sha256-7NBJm1jfMeAowE1J2oljYqWVvI9X7FyyxBY4O8uB/Os=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1e1dc66fe68972a76679644a5577828b6a7e8be4", + "rev": "c8a17040be4a20b29589cb4043a9e0c36af1930e", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 905a1ab..368551f 100644 --- a/flake.nix +++ b/flake.nix @@ -31,7 +31,12 @@ projectRootFile = "flake.nix"; programs = { alejandra.enable = true; - mdformat.enable = true; + mdformat = { + enable = true; + package = pkgs.mdformat.withPlugins (p: [ + p.mdformat-gfm-alerts + ]); + }; }; };