This file contains 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
{ | |
boot.initrd.availableKernelModules = [ | |
"xhci_pci" | |
"ahci" | |
"nvme" | |
]; | |
disko.devices = import ./raid-config.nix { | |
raidLevel = 1; | |
}; |
This file contains 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
[root@nixos:/]# cat etc/fstab | |
# This is a generated file. Do not edit! | |
# | |
# To make changes, edit the fileSystems and swapDevices NixOS options | |
# in your /etc/nixos/configuration.nix file. | |
# | |
# <file system> <mount point> <type> <options> <dump> <pass> | |
# Filesystems. | |
/dev/md/root / ext4 defaults 0 1 |
This file contains 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> {} }: | |
with pkgs; | |
let | |
clang-wrapped = wrapCCWith { | |
cc = llvmPackages.clang-unwrapped; | |
bintools = wrapBintoolsWith { | |
bintools = pkgs.runCommand "lld" {} '' | |
mkdir -p $out/bin |
This file contains 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
with import <nixpkgs> {}; | |
mkShell { | |
nativeBuildInputs = [ | |
bashInteractive | |
libosmocore | |
talloc | |
]; | |
NIX_CFLAGS_COMPILE = "-ltalloc"; | |
} |
This file contains 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
name: Automatic merge if CI builds | |
on: | |
push: | |
branches: | |
- 'update/*' | |
jobs: | |
wait-for-check-regexp: | |
runs-on: ubuntu-latest | |
if: github.actor == 'numtide-bot' |
This file contains 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
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
unpacking sources | |
unpacking source archive /nix/store/wxcmkklql7al9z1ipp62z855i3b0bqhy-search | |
source root is search | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
patching sources | |
@nix { "action": "setPhase", "phase": "configurePhase" } | |
configuring | |
@nix { "action": "setPhase", "phase": "buildPhase" } | |
building |
This file contains 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
[scott@dev01:~/STAG]$ ./dev.sh | |
🔨 Welcome to devshell | |
[general commands] | |
dotnet - .NET SDK 6.0.100 | |
just - A handy way to save and run project-specific commands | |
menu - prints this menu | |
niv - Easy dependency management for Nix projects | |
node - Event-driven I/O framework for the V8 JavaScript engine |
This file contains 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
╭─[~PRJ_ROOT/stag-api]─[stag-api-nixos*]─⇡ | |
╰─ % DOTNET_ROOT='/nix/store/5kniz6zwqgvq56h6nlqm4yvgidz7xva3-aspnetcore-runtime-5.0.12' dotnet ef database update --assembly /nix/store/zcfx1fx62c52wmyjvmqni294xklxnb9m-stag-api-0/lib/STAGWeb/STAGWeb | |
System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown. | |
Could not load file or assembly 'Microsoft.AspNetCore.Mvc.ViewFeatures, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. | |
Could not load file or assembly 'Microsoft.AspNetCore.Mvc.ViewFeatures, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. | |
Could not load file or assembly 'Microsoft.AspNetCore.Mvc.ViewFeatures, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. | |
Could not load file or assembly 'Microsoft.AspNetCore.Mvc.ViewFeatures, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its |
This file contains 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/.envrc b/.envrc | |
index 8aaa78e..1d47631 100644 | |
--- a/.envrc | |
+++ b/.envrc | |
@@ -7,6 +7,17 @@ watch_dir nix | |
watch_file default.nix BUILD.nix | |
# Build and load the devshell | |
-out=$(nix-build -A shell --no-out-link) | |
+layout_dir=$(direnv_layout_dir) |
This file contains 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 -eux -o pipefail | |
export PATH=$(pwd)/target/debug:$PATH | |
wormhole forward connect --port=2010 "$1" & | |
sleep 10 | |
socat file:`tty`,raw,echo=0 tcp-connect:localhost:2010 |