Remove unused packages
This commit is contained in:
parent
4f7e125ed3
commit
08f1aefbd1
21 changed files with 45 additions and 197 deletions
|
|
@ -92,8 +92,6 @@
|
|||
'';
|
||||
udev.packages = [pkgs.platformio-core.udev];
|
||||
|
||||
# Linux link via MQTT
|
||||
lnxlink.enable = true;
|
||||
beszel-agent.enable = true;
|
||||
beszel-agent.key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMkUPOw28Cu2LMuzfmvjT/L2ToNHcADwGyGvSpJ4wH2T";
|
||||
elements.ollama.enable = true;
|
||||
|
|
|
|||
|
|
@ -39,14 +39,5 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
|
||||
# traefik.routes.solid-pod = {
|
||||
# rule = "Host(`pod.toph.so`)";
|
||||
# url = "http://localhost:3000";
|
||||
# };
|
||||
};
|
||||
|
||||
# systemd.tmpfiles.rules = [
|
||||
# "d /var/lib/solid - - - - -"
|
||||
# ];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./lnxlink.nix
|
||||
./beszel.nix
|
||||
./ollama.nix
|
||||
./traefik.nix
|
||||
./metrics.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,28 +0,0 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.services.lnxlink;
|
||||
in {
|
||||
options.services = {
|
||||
lnxlink = {
|
||||
enable = mkEnableOption "Enable LNXlink";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
systemd.services.lnxlink = {
|
||||
enable = true;
|
||||
wantedBy = ["multi-user.target"];
|
||||
serviceConfig = {
|
||||
# Note: Logging will also be done to the working directory, so logs will
|
||||
# be lost upon a restart.
|
||||
WorkingDirectory = "/tmp";
|
||||
ExecStart = "${pkgs.harbor.lnxlink}/bin/lnxlink -i -c ${./lnxlink.yaml}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,84 +0,0 @@
|
|||
mqtt:
|
||||
prefix: lnxlink
|
||||
clientId: cobalt
|
||||
server: nanomq.intern.muehl.dev
|
||||
port: 1883
|
||||
auth:
|
||||
user: cobalt
|
||||
pass: cobalt
|
||||
tls: false
|
||||
keyfile: ''
|
||||
certfile: ''
|
||||
ca_certs: ''
|
||||
discovery:
|
||||
enabled: true
|
||||
lwt:
|
||||
enabled: true
|
||||
qos: 1
|
||||
clear_on_off: true
|
||||
update_interval: 5
|
||||
update_on_change: false
|
||||
hass_url: null
|
||||
hass_api: null
|
||||
modules: null
|
||||
custom_modules: null
|
||||
exclude:
|
||||
- audio_select
|
||||
- active_window
|
||||
- bash
|
||||
- battery
|
||||
- beacondb
|
||||
- bluetooth
|
||||
- boot_select
|
||||
- brightness
|
||||
- fullscreen
|
||||
- gpio
|
||||
- gpu
|
||||
- idle
|
||||
- inference_time
|
||||
- ir_remote
|
||||
- keep_alive
|
||||
- keyboard_hotkeys
|
||||
- media
|
||||
- mouse
|
||||
- network
|
||||
- notify
|
||||
- power_profile
|
||||
- restful
|
||||
- screen_onoff
|
||||
- screenshot
|
||||
- send_keys
|
||||
- speech_recognition
|
||||
- systemd
|
||||
- sys_updates
|
||||
- steam
|
||||
- wifi
|
||||
- webcam
|
||||
- xdg_open
|
||||
- wol
|
||||
- docker
|
||||
settings:
|
||||
systemd: null
|
||||
gpio:
|
||||
inputs: null
|
||||
outputs: null
|
||||
hotkeys: null
|
||||
battery:
|
||||
include_batteries: []
|
||||
exclude_batteries: []
|
||||
disk_usage:
|
||||
include_disks: []
|
||||
exclude_disks: []
|
||||
statistics: https://analyzer.bkbilly.workers.dev
|
||||
bash:
|
||||
allow_any_command: false
|
||||
expose: null
|
||||
mounts:
|
||||
autocheck: false
|
||||
directories: []
|
||||
ir_remote:
|
||||
receiver: null
|
||||
transmitter: null
|
||||
buttons: []
|
||||
restful:
|
||||
port: 8112
|
||||
18
modules/nixos/services/metrics.nix
Normal file
18
modules/nixos/services/metrics.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{...}: {
|
||||
services = {
|
||||
tailscale = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
prometheus.exporters = {
|
||||
node = {
|
||||
enable = true;
|
||||
port = 9000;
|
||||
};
|
||||
# tailscale = {
|
||||
# enable = true;
|
||||
# port = 9001;
|
||||
# };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
pkgs.python3Packages.buildPythonApplication {
|
||||
pname = "lnxlink";
|
||||
version = "2025.7.0";
|
||||
pyproject = true;
|
||||
|
||||
# Linking my fork here which allows for newer versions of setuptools and wheel.
|
||||
# Also includes some fixes that make the program actually work with NixOS.
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "padarom";
|
||||
repo = "lnxlink";
|
||||
rev = "7202e48";
|
||||
hash = "sha256-E2J1d9D5SJWGEutAPAo1BM98cMzH7QrqIz3yrlXpzGE=";
|
||||
};
|
||||
|
||||
build-system = with pkgs.python3Packages; [setuptools wheel];
|
||||
dependencies = with pkgs.python3Packages; [
|
||||
distro
|
||||
pyyaml
|
||||
paho-mqtt
|
||||
requests
|
||||
psutil
|
||||
inotify
|
||||
jeepney
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/bkbilly/lnxlink";
|
||||
description = "Effortlessly manage your Linux machine using MQTT.";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "lnxlink";
|
||||
};
|
||||
}
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "oxigraph";
|
||||
version = "0.5.3-post.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/oxigraph/oxigraph/releases/download/v${version}/oxigraph_v${version}_x86_64_linux_gnu";
|
||||
hash = "sha256-6yLJ8wuhGu2GoCWMji+Lt1WoDZxRmTLXVMwKb3+ByRQ=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/bin
|
||||
cp $src $out/bin/oxigraph
|
||||
chmod +x $out/bin/oxigraph
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "SPARQL graph database";
|
||||
homepage = "https://github.com/oxigraph/oxigraph";
|
||||
license = with licenses; [asl20 mit];
|
||||
maintainers = [];
|
||||
mainProgram = "oxigraph";
|
||||
platforms = ["x86_64-linux"];
|
||||
};
|
||||
}
|
||||
Binary file not shown.
|
|
@ -0,0 +1,10 @@
|
|||
age-encryption.org/v1
|
||||
-> ssh-ed25519 Sih9FA sjJK2xzSS5NIMYO9oRqdZP31M2DJMlMT17dvMe6QFm8
|
||||
mynrRQPbUA3q0Kzq0pSwPaLUjXKRQRi4AWYGQAZDXeg
|
||||
-> 2!Ioi2-grease 8X6n Z/BVM# c%x9*
|
||||
rwvXE/SCfEvdqk5AHvLu4viy0o/eVLqzBx6C/b23EFv0jY8RGim7avCRM+AgaSUl
|
||||
kjTCXxYyVNUVSS4FfNS3/HCCKBWUUDTKKjiOet33Q1jhh3xYP89nAHzjjWN3KmrE
|
||||
xAY
|
||||
--- sFHXIDP2M1/uZFVMp+vc085sWpY+TQt3MKTb+p3Kyuo
|
||||
éxÀq×àì¢n(HÐ¥N_%¡ªAë}=8’¨æ”^Ö)ÇÐxðØZ¯Öl!rI2ª¸K¼Ë,hÒUîé …ÊáaC?HÜzÖ¥LDÅP@/ÔƒžÔ¦«À°W~éÕ“±hR7å)E)ø8ªƒºivWqz×\ %&â¾íN¶:J½:]îœvÀ‚Ô—Z2P|ÌÒ<C38C>Èx+&ƒd¶ÁGo#èsovêbÚïˆØ· ;Tbé ð©31|ˆïŠ¥ø]Ä᳸ݞâEvÖ{ôš¥·7O<60Ší°¢~HJóõ´<>&)ÕC4çsñB[%àŒŠe Dªj´/DΫËrinÅî3`Sg‡/9]¸ X&S<>¡75!§ç™µ¦A`§€{‚«¤VtŽ8MV»7«]iËÂ$ê7®±ÛÒj=OÄMdbã·:²Iäcnä®xþ:|
'Htì<{ë„Ì
ô˧‹,ú;,k‹y?DÁ$BÖÉÇŒ
|
||||
&-5:ð`mùäBµœ°Ó}쮸Ègƒþ<C692>‘Qæ¼ïÖR…&ªºw»5†ê8˜ ÓZÆQ`<«Æ¶oó&…
Ã+ÂÅ×%¯>ø59œÇWtƒvÛw¶ûöëˆJµ?%fÌ
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,8 @@
|
|||
age-encryption.org/v1
|
||||
-> ssh-ed25519 Sih9FA d9oQaF1sdS+4mUZvKWU90rPM3jdb/xaa+LPWwnhpFQQ
|
||||
Vji46uZEvcIbBALfvguE7u1o9LY6tiWeTXNU33O7WnI
|
||||
-> vL8-grease i%AP\3gI { -{r^< OC
|
||||
Ag5+BVEroMpIJUVBfMDzbg4e2ZeInDVmfsGGuAjyXk3bpQ1PButowEYp94tqXFcO
|
||||
7ym1I8DzL7VfBB+MvSr7DYN7yH6wuopXh+WnPg
|
||||
--- Ee6HhsFrv9FF48pi8Uh3aIm9gSnOCUEdNJrj9wXLh/Q
|
||||
„Ô¼ &À98ÛÞƒÉ@;©µ60*i‚ cxJg5!W^pqZ&ZßúÕF<>w¬¹ºö
|
||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,8 @@
|
|||
age-encryption.org/v1
|
||||
-> ssh-ed25519 Sih9FA fq3C2igBpOWJjLT9ZYzNTHTIxis4KNxJGqKqxUOFGAA
|
||||
hh2mbDtaqH9ZfHg4gl7t01sxqueb8VjHwLyAlcGG7uo
|
||||
-> PpA-grease
|
||||
OVR9M24Xu72ydIujacdy3E5wY2j1O5yoN197/G2C2Q36gIq/2uxAaYY97zQgaPb8
|
||||
ceu566Z0DqfToCVFAptnuRIY6YeIFIOeUA
|
||||
--- axV+75oHmhVN+nWRivvDNlDokS2oQU4s6SIeLecO3yg
|
||||
©4NÊíŒi+$ð˜XÖ?º
[0ûwInÀ¶÷ª¥öâaUæÜ<01>…˦D,wVvçœWbËþšóÙÌ´HIJf#±“ìÕïýº>ñí<04>é¨MßuÔq‘ü,¤áט_"wÔéÐÖY„ ؉í/$#ÎEjÑ
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue