View disk-space
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
. 242.3 GiB [##########################] /harshanavkis | |
. 137.1 GiB [############## ] /paul | |
98.9 GiB [########## ] /julian | |
. 84.8 GiB [######### ] /dimitrios | |
. 61.5 GiB [###### ] /maurice | |
33.0 GiB [### ] /martin | |
12.1 GiB [# ] /masa | |
7.8 GiB [ ] /joerg | |
5.3 MiB [ ] /okelmann |
View install-nixos.sh
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 -exuo pipefail | |
PROGRAM_NAME="$0" | |
inst() { | |
local system="" host="" action="install" from="auto" mount="" | |
local -a nixCopyArgs | |
while [[ "$#" -gt 0 ]] ; do | |
case "$1" in |
View default.nix
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
{ lib | |
, buildGoPackage | |
, fetchurl | |
, makeWrapper | |
, git | |
, bash | |
, gzip | |
, openssh | |
, pam | |
, sqliteSupport ? true |
View hardware.nix
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; | |
}; |
View messed-up-mdadm-ids
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 |
View default.nix
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 |
View gist:86a10bea53f174974d18368ef51a9c7c
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"; | |
} |
View auto-merge-ci.yaml
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' |
View foo.log
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 |
View log
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 |
NewerOlder