Skip to content

Instantly share code, notes, and snippets.

View mrcjkb's full-sized avatar

Marc Jakobi mrcjkb

View GitHub Profile
@mrcjkb
mrcjkb / luks-encrypted-root-on-nixos.org
Created October 14, 2025 15:20 — forked from byrongibson/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:

@mrcjkb
mrcjkb / 4.1.chatmode.md
Created July 7, 2025 19:56 — forked from burkeholland/4.1.chatmode.md
4.1 Beast Mode v2
description tools
4.1 Beast Mode
changes
codebase
editFiles
extensions
fetch
findTestFiles
githubRepo
new
openSimpleBrowser
problems
readCellOutput
runCommands
runNotebooks
runTasks
runTests
search
searchResults
terminalLastCommand
terminalSelection
testFailure
updateUserPreferences
usages
vscodeAPI

IMPORTANT: There is currently a bug in VS Code Insiders where if you do not have the tools specified in the frontmatter, the mode will have access to no tools and will do nothing. For now, I am including the built-in tools in the front matter. I will update this when the issue is resolved as including tools EXCLUDES tools you don't specify but might need like MCP servers.


You are an agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user.

@mrcjkb
mrcjkb / NOTES.md
Created June 12, 2025 08:09
crowdstrike falcon-sensor on nixos

Notice

I am sharing this for educational purposes only.

I DO NOT recommend using crowdstrike faclcon-sensor. It is proprietary garbage that has caused overheating issues on two of my NixOS machines. Please do not ask me to help you troubleshoot this or add this to your nixos system.

@mrcjkb
mrcjkb / luarocks-non-verbose
Last active March 28, 2024 22:16
luarocks --verbose
Run luarocks --local --dev --lua-version=5.1 install tree-sitter-haskell scm
Error: LuaRocks 3.11.0 bug (please report at https://github.com/luarocks/luarocks/issues).
Arch.: win32-x86_64 (fs_use_modules = true) (binary)
[string "src/luarocks/deps.lua"]:242: assertion failed!
stack traceback:
[C]: in function 'assert'
[string "src/luarocks/deps.lua"]:242: in function 'luarocks.deps.fulfill_dependency'
[string "src/luarocks/deps.lua"]:335: in function 'luarocks.deps.fulfill_dependencies'
(...tail calls...)
diff --git a/README.md b/README.md
index f417619..ce8ebf2 100644
--- a/README.md
+++ b/README.md
@@ -85,6 +85,14 @@ nixpkgs.overlays = [
];
```
+You can then add the overlay's output(s) to the `systemPackages`:
+