mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
Compare commits
6 commits
72371de9c5
...
1d6d4410a5
Author | SHA1 | Date | |
---|---|---|---|
|
1d6d4410a5 | ||
|
5ed7f50af0 | ||
|
7af16a399d | ||
|
fd2fa7c92c | ||
|
dd406792a0 | ||
|
5e230cf7c8 |
6 changed files with 43 additions and 21 deletions
|
@ -17,11 +17,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720957393,
|
"lastModified": 1721743106,
|
||||||
"narHash": "sha256-oedh2RwpjEa+TNxhg5Je9Ch6d3W1NKi7DbRO1ziHemA=",
|
"narHash": "sha256-adRZhFpBTnHiK3XIELA3IBaApz70HwCYfv7xNrHjebA=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "693bc46d169f5af9c992095736e82c3488bf7dbb",
|
"rev": "dc14ed91132ee3a26255d01d8fd0c1f5bff27b2f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
5
pkgs/bck-authorized-keys.nix
Normal file
5
pkgs/bck-authorized-keys.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{ lib
|
||||||
|
, writeTextDir
|
||||||
|
}:
|
||||||
|
|
||||||
|
writeTextDir "authorized_keys" (lib.concatLines (import ../lib/ssh-keys.nix))
|
|
@ -5,6 +5,7 @@ vim.cmd("set scrolloff=9")
|
||||||
vim.cmd("set tabstop=4")
|
vim.cmd("set tabstop=4")
|
||||||
vim.cmd("set shiftwidth=4")
|
vim.cmd("set shiftwidth=4")
|
||||||
vim.cmd("set ignorecase smartcase")
|
vim.cmd("set ignorecase smartcase")
|
||||||
|
vim.cmd("set clipboard=unnamedplus")
|
||||||
|
|
||||||
vim.keymap.set('n', '<space>ff', '<cmd>Telescope find_files<cr>')
|
vim.keymap.set('n', '<space>ff', '<cmd>Telescope find_files<cr>')
|
||||||
vim.keymap.set('n', '<space>fr', '<cmd>Telescope oldfiles<cr>')
|
vim.keymap.set('n', '<space>fr', '<cmd>Telescope oldfiles<cr>')
|
||||||
|
|
|
@ -36,7 +36,9 @@ stdenv.mkDerivation {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/lib $out/bin
|
mkdir -p $out/lib $out/bin
|
||||||
cp -a . $out/lib/binaryninja-personal
|
cp -a . $out/lib/binaryninja-personal
|
||||||
|
uppath="~/.binaryninja/update/`echo -n $out/lib/binaryninja-personal|sha256sum|cut -c-64`"
|
||||||
makeWrapper $out/lib/binaryninja-personal/binaryninja $out/bin/binaryninja \
|
makeWrapper $out/lib/binaryninja-personal/binaryninja $out/bin/binaryninja \
|
||||||
|
--run "install -D ${builtins.toFile "noauto" "{\"auto\":false}"} $uppath/manifest" \
|
||||||
--suffix LD_LIBRARY_PATH : "${python3}/lib"
|
--suffix LD_LIBRARY_PATH : "${python3}/lib"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -1,18 +1,30 @@
|
||||||
{
|
{
|
||||||
"hashes": {
|
"hashes": {
|
||||||
"binaryninja_commercial_linux.zip": "ed681eba598a85614a61abe67b0fde1bfb6d033363fe6c8503ee462a39479ffd",
|
"binaryninja_commercial_linux-arm.zip": "20edd9632585ba69156e1ed970e734f2f06a6fc9e38b7c224f60b3fdae80c2eb",
|
||||||
"binaryninja_commercial_macosx.dmg": "b9f1b52a440662edc9729f29a451a64f1b307601701752574fabe83774fceba6",
|
"binaryninja_commercial_linux.zip": "2772a8af6c745f8d35cb669a49df258f2efe111f9c628c0f394d7d70868b7e27",
|
||||||
"binaryninja_commercial_win64.exe": "2d3f8588ee54c808b55bf27f46ff66d71c308bbf51ac82f2707c55aeccaa5dcc",
|
"binaryninja_commercial_macosx.dmg": "591f5902346f08e4f2c5e1fb94e2bc34ac92a81309e1215e801959b14cfd8f1b",
|
||||||
"binaryninja_enterprise_linux.zip": "731260e12fc53261be1309a73f640a99f935db707f35252a1e312c379f98048d",
|
"binaryninja_commercial_macosx.zip": "1d5dea823512fae92a60dddcc72d1e5ccfb6ac36d8b248480bda9e9e017070e4",
|
||||||
"binaryninja_enterprise_macosx.dmg": "90282d05a889765ed54135f931c0d785b257580452b07ab7406e59554a9b9328",
|
"binaryninja_commercial_win64.exe": "1b5d79c54a7d27ee41f02eafe3b9ec6ed678f1ac5d570f25b80b2b0000f99d3e",
|
||||||
"binaryninja_enterprise_win64.exe": "a0bd03416c28e6e857716cc491dbf7e37597449463643a7b0f5854eb8e24779e",
|
"binaryninja_commercial_win64.zip": "5328cc150cd971a74b4bcb26ad8497fbe85825525dc4cd51e8cdd52ba01607fb",
|
||||||
"binaryninja_free_linux.zip": "28905424a32aa812f69899039d13b74c2a3235851d6e2d778806dc5215c5f1a7",
|
"binaryninja_enterprise_linux-arm.zip": "beb6c77834f66608ddbbf0f93f59bd0377eb4a16522aba4d5eadb6b353a50f49",
|
||||||
"binaryninja_free_macosx.dmg": "b812206fa61fdcf09b5ea21d07fe8492d5f79b0e50a5ce68e9bc8cadfd3e978e",
|
"binaryninja_enterprise_linux.zip": "cdf43a8715ddce0d8ab51be4d25c0c6fd2fadd9bf700b38f80ba0b0b0ffdf419",
|
||||||
"binaryninja_free_win64.exe": "a860d06a3dfc97387404cc2558d999985a21359d8f98e7dc4816e874f4483e03",
|
"binaryninja_enterprise_macosx.dmg": "b9c7e913222a84c3b0ce678bb778c2a4ee08ceb63a7f350ca4ebbacd94af834b",
|
||||||
"binaryninja_headless_linux.zip": "9a66b4185452e7e8b77064982e1a2bd4594f19b92dc5005f84f9d3a9049bcc4d",
|
"binaryninja_enterprise_macosx.zip": "76fd65500fc51a8ab6838b57b90a74cd7a8d5bb15abfe946fa0735f9dede8d21",
|
||||||
"binaryninja_personal_linux.zip": "dc48e1663e05650c47d8e4eef5c2903acf8df4f7f07feb5fa2746709a8e008c3",
|
"binaryninja_enterprise_win64.exe": "8aded06923decfdaedc191fda101deb6ab405179d6f663d67c1f1f76f33f6413",
|
||||||
"binaryninja_personal_macosx.dmg": "64f729fe3f9c8cafb6fad3030fd77fe2a4ccfe00138e06c94f6cf97ba6a84614",
|
"binaryninja_enterprise_win64.zip": "3b6405aaaca14b4e2951e0f1b25e6d9b67828b640b477b6aa15bb3479f8b06af",
|
||||||
"binaryninja_personal_win64.exe": "6c5ee48e0130545ede18266436fe484baa4fefbf138b95553bb92eca32727caa"
|
"binaryninja_free_linux-arm.zip": "dbf1f9d6756df1cdc70cdd3183fbab30065690226166cf5e359aa450145e3e3b",
|
||||||
|
"binaryninja_free_linux.zip": "9ce47191d421ba90de924ee52d2730c6809776f8be5ac0ff2c2e348304b99817",
|
||||||
|
"binaryninja_free_macosx.dmg": "b32275792726d1d04122cf50d695589899a126b47baf2f582d1c2d51083a5a76",
|
||||||
|
"binaryninja_free_macosx.zip": "6e6ff6ab9d5565a299382235073731e64422576895b5196c36f2ca7f9070fd05",
|
||||||
|
"binaryninja_free_win64.exe": "c91fe773120336ce2ab04e89e9a83d74adb4475e76b3448b5e0d9a1c34104570",
|
||||||
|
"binaryninja_free_win64.zip": "e2a2eb6fa83078333125d5cc84c350f9938857a241733111b088c5fd0ab9e0d5",
|
||||||
|
"binaryninja_headless_linux.zip": "a15fdd0d486af30d813b60d152f3ff28871490e57168f8c1c240569aaf3f91c0",
|
||||||
|
"binaryninja_personal_linux-arm.zip": "515ea4a2c6eb27379f22b9c2d6afc6398a27d56376d3071f73d5f19208300c54",
|
||||||
|
"binaryninja_personal_linux.zip": "770be9e7e76f4b083aa767f8f2ad6fdd3dddbe247658a84905a7f625402f49bf",
|
||||||
|
"binaryninja_personal_macosx.dmg": "276406117b0eb15551886c35eed1fb149a52c71f2868e7f738ef14056dfa5828",
|
||||||
|
"binaryninja_personal_macosx.zip": "a0ad99ec8f844f1c42d2e769b159a0ada6c9a7364c9d150fa7f5aedcff8672ee",
|
||||||
|
"binaryninja_personal_win64.exe": "b699831118755e588181e7715e603aa0b5b8c8cb407a18acf07d3f04e052d363",
|
||||||
|
"binaryninja_personal_win64.zip": "5dc88de206d3867605b12bf345b958a4df78c577004918796ccd0aa2dfbe6f30"
|
||||||
},
|
},
|
||||||
"version": "4.0.4958"
|
"version": "4.1.5747 commercial"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ callPackage
|
{ callPackage
|
||||||
, firecracker
|
, firecracker
|
||||||
, writeShellScriptBin
|
, writeShellApplication
|
||||||
, writeText
|
, writeText
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -27,6 +27,8 @@ let
|
||||||
});
|
});
|
||||||
|
|
||||||
in
|
in
|
||||||
writeShellScriptBin "firecracker-vm" ''
|
writeShellApplication {
|
||||||
${firecracker}/bin/firecracker --no-api --config-file ${vmconfig}
|
name = "firecracker-vm";
|
||||||
''
|
text = "${firecracker}/bin/firecracker --no-api --config-file ${vmconfig}";
|
||||||
|
derivationArgs.passthru = { inherit kernel rootfs; };
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue