Add oryx derivation
This commit is contained in:
parent
e9c0ab554f
commit
ad097b7543
10 changed files with 120 additions and 12 deletions
65
flake.lock
generated
65
flake.lock
generated
|
|
@ -442,11 +442,11 @@
|
||||||
"systems": "systems_2"
|
"systems": "systems_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1694529238,
|
"lastModified": 1731533236,
|
||||||
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -457,7 +457,7 @@
|
||||||
},
|
},
|
||||||
"flake-utils-plus": {
|
"flake-utils-plus": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils"
|
"flake-utils": "flake-utils_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715533576,
|
"lastModified": 1715533576,
|
||||||
|
|
@ -474,6 +474,24 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"flake-utils_2": {
|
||||||
|
"inputs": {
|
||||||
|
"systems": "systems_3"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1694529238,
|
||||||
|
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"fromYaml": {
|
"fromYaml": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
@ -910,6 +928,27 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"ovos": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": "flake-utils",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1766165400,
|
||||||
|
"narHash": "sha256-T86no1MvUHVpC6xyrOJGB9VY4taj2fhJtcBEN+uhV60=",
|
||||||
|
"ref": "refs/heads/main",
|
||||||
|
"rev": "0344ae6de17572639359fe7ca35b3b2e703d3852",
|
||||||
|
"revCount": 5,
|
||||||
|
"type": "git",
|
||||||
|
"url": "file:///home/christopher/workspaces/ovos-flake"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "file:///home/christopher/workspaces/ovos-flake"
|
||||||
|
}
|
||||||
|
},
|
||||||
"plugin-loader": {
|
"plugin-loader": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
@ -973,6 +1012,7 @@
|
||||||
"niri": "niri",
|
"niri": "niri",
|
||||||
"nixpkgs": "nixpkgs_7",
|
"nixpkgs": "nixpkgs_7",
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
|
"ovos": "ovos",
|
||||||
"quadlet": "quadlet",
|
"quadlet": "quadlet",
|
||||||
"snowfall": "snowfall",
|
"snowfall": "snowfall",
|
||||||
"stylix": "stylix",
|
"stylix": "stylix",
|
||||||
|
|
@ -1035,7 +1075,7 @@
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"nur": "nur_2",
|
"nur": "nur_2",
|
||||||
"systems": "systems_3",
|
"systems": "systems_4",
|
||||||
"tinted-foot": "tinted-foot",
|
"tinted-foot": "tinted-foot",
|
||||||
"tinted-kitty": "tinted-kitty",
|
"tinted-kitty": "tinted-kitty",
|
||||||
"tinted-schemes": "tinted-schemes",
|
"tinted-schemes": "tinted-schemes",
|
||||||
|
|
@ -1101,6 +1141,21 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"systems_4": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"tinted-foot": {
|
"tinted-foot": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
|
||||||
|
|
@ -31,8 +31,9 @@
|
||||||
systems.hosts = with inputs; {
|
systems.hosts = with inputs; {
|
||||||
cobalt.modules = [
|
cobalt.modules = [
|
||||||
niri.nixosModules.niri
|
niri.nixosModules.niri
|
||||||
musnix.nixosModules.default
|
|
||||||
stylix.nixosModules.stylix
|
stylix.nixosModules.stylix
|
||||||
|
musnix.nixosModules.default
|
||||||
|
ovos.nixosModules.default
|
||||||
];
|
];
|
||||||
beryllium.modules = [
|
beryllium.modules = [
|
||||||
quadlet.nixosModules.quadlet
|
quadlet.nixosModules.quadlet
|
||||||
|
|
@ -77,6 +78,9 @@
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||||
unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
|
ovos.url = "git+file:///home/christopher/workspaces/ovos-flake";
|
||||||
|
ovos.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
# Opinionated flake library for better organization without much boilerplate
|
# Opinionated flake library for better organization without much boilerplate
|
||||||
snowfall = {
|
snowfall = {
|
||||||
url = "github:snowfallorg/lib";
|
url = "github:snowfallorg/lib";
|
||||||
|
|
@ -117,6 +121,5 @@
|
||||||
url = "github:nix-community/NUR";
|
url = "github:nix-community/NUR";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
system,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# Editors
|
# Editors
|
||||||
jetbrains-toolbox # Installer for JetBrains IDEs
|
jetbrains-toolbox # Installer for JetBrains IDEs
|
||||||
|
|
@ -24,6 +29,7 @@
|
||||||
just # Just a command runner
|
just # Just a command runner
|
||||||
claude-monitor
|
claude-monitor
|
||||||
devenv
|
devenv
|
||||||
|
_elements.oryx # TUI for sniffing network traffic using eBPF
|
||||||
|
|
||||||
# Build tools
|
# Build tools
|
||||||
cargo
|
cargo
|
||||||
|
|
@ -50,6 +56,8 @@
|
||||||
|
|
||||||
claude-code = {
|
claude-code = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
# package = inputs.unstable.${system}.claude-code;
|
||||||
|
|
||||||
commands = {
|
commands = {
|
||||||
fix-github-issue = ''
|
fix-github-issue = ''
|
||||||
Please analyze and fix the GitHub issue $ARGUMENTS.
|
Please analyze and fix the GitHub issue $ARGUMENTS.
|
||||||
|
|
|
||||||
|
|
@ -15,13 +15,13 @@
|
||||||
|
|
||||||
signing = {
|
signing = {
|
||||||
signByDefault = true;
|
signByDefault = true;
|
||||||
key = "E919B0F59E14FD47";
|
key = "925AC7D69955293F";
|
||||||
};
|
};
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
user = {
|
user = {
|
||||||
name = "Christopher Mühl";
|
name = "Christopher Mühl";
|
||||||
email = "christopher@muehl.dev";
|
email = "toki@toph.so";
|
||||||
};
|
};
|
||||||
push = {
|
push = {
|
||||||
default = "current";
|
default = "current";
|
||||||
|
|
|
||||||
|
|
@ -14,5 +14,6 @@
|
||||||
|
|
||||||
# Audio
|
# Audio
|
||||||
vcv-rack
|
vcv-rack
|
||||||
|
supercollider
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,9 @@
|
||||||
zathura # Document viewer
|
zathura # Document viewer
|
||||||
evince # Document viewer
|
evince # Document viewer
|
||||||
|
|
||||||
|
# element-desktop
|
||||||
|
fractal # Matrix client
|
||||||
|
gomuks # Matrix client TUI
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
vesktop # Discord client
|
vesktop # Discord client
|
||||||
filezilla # FTP Client
|
filezilla # FTP Client
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,8 @@
|
||||||
ffmpeg
|
ffmpeg
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.easyeffects.enable = true;
|
||||||
|
|
||||||
programs.firefox.profiles."streaming" = {
|
programs.firefox.profiles."streaming" = {
|
||||||
id = 2;
|
id = 2;
|
||||||
settings = {};
|
settings = {};
|
||||||
|
|
|
||||||
|
|
@ -27,9 +27,9 @@
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
config.permittedInsecurePackages = [
|
config.permittedInsecurePackages = [
|
||||||
"nixos-config"
|
"nixos-config"
|
||||||
"electron-27.3.11"
|
|
||||||
"electron-36.9.5"
|
"electron-36.9.5"
|
||||||
"dotnet-sdk-6.0.428"
|
"dotnet-sdk-6.0.428"
|
||||||
|
"olm-3.2.16"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
35
packages/oryx/default.nix
Normal file
35
packages/oryx/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchurl,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "oryx";
|
||||||
|
version = "0.7.2";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/pythops/oryx/releases/download/v${version}/oryx-x86_64-unknown-linux-musl";
|
||||||
|
hash = "sha256-qvgdaFs21nDePKSYYWChdknbrWlmZheGLsmv/STnVuk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontUnpack = true;
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp $src $out/bin/oryx
|
||||||
|
chmod +x $out/bin/oryx
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "TUI for sniffing network traffic using eBPF";
|
||||||
|
homepage = "https://github.com/pythops/oryx";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
maintainers = [];
|
||||||
|
mainProgram = "oryx";
|
||||||
|
platforms = ["x86_64-linux"];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -83,6 +83,8 @@ with lib._elements; {
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
# elements.ovos.enable = true;
|
||||||
|
|
||||||
openssh.enable = true;
|
openssh.enable = true;
|
||||||
openssh.settings.PasswordAuthentication = false;
|
openssh.settings.PasswordAuthentication = false;
|
||||||
|
|
||||||
|
|
@ -253,5 +255,4 @@ with lib._elements; {
|
||||||
boot.extraModprobeConfig = ''
|
boot.extraModprobeConfig = ''
|
||||||
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
||||||
'';
|
'';
|
||||||
security.polkit.enable = true;
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue