mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 12:36:42 +01:00
update nixos config; update server-dockers config
This commit is contained in:
@@ -98,7 +98,7 @@
|
|||||||
mpv
|
mpv
|
||||||
vlc
|
vlc
|
||||||
feh
|
feh
|
||||||
kolourpaint
|
#kolourpaint
|
||||||
gimp
|
gimp
|
||||||
calibre
|
calibre
|
||||||
tauon
|
tauon
|
||||||
@@ -133,11 +133,13 @@
|
|||||||
sage
|
sage
|
||||||
coq
|
coq
|
||||||
coqPackages.mathcomp
|
coqPackages.mathcomp
|
||||||
coqPackages.coqide
|
#coqPackages.coqide
|
||||||
opam # ocaml package manager, for coq packages
|
opam # ocaml package manager, for coq packages
|
||||||
go
|
go
|
||||||
(python3.withPackages(ps: with ps; [
|
(python3.withPackages(ps: with ps; [
|
||||||
matplotlib numpy qmk
|
matplotlib numpy qmk
|
||||||
|
meshtastic esptool # meshtastic related
|
||||||
|
unicodeit
|
||||||
]))
|
]))
|
||||||
pipx
|
pipx
|
||||||
nodejs
|
nodejs
|
||||||
@@ -146,6 +148,9 @@
|
|||||||
qmk
|
qmk
|
||||||
vial
|
vial
|
||||||
via
|
via
|
||||||
|
|
||||||
|
freecad
|
||||||
|
orca-slicer
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
@@ -187,6 +192,9 @@
|
|||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
|
|
||||||
#hardware.pulseaudio.enable = true;
|
#hardware.pulseaudio.enable = true;
|
||||||
|
services.pulseaudio.enable = true;
|
||||||
|
services.pipewire.enable=false;
|
||||||
|
services.pipewire.pulse.enable=false;
|
||||||
|
|
||||||
# udev rules (for Vial)
|
# udev rules (for Vial)
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
# gvfs needed for Thunar to detect external disks
|
# gvfs needed for Thunar to detect external disks
|
||||||
services.gvfs.enable = true;
|
services.gvfs.enable = true;
|
||||||
|
|
||||||
hardware.pulseaudio.enable = true;
|
#hardware.pulseaudio.enable = true;
|
||||||
|
|
||||||
# allow AppImage programs
|
# allow AppImage programs
|
||||||
programs.appimage.binfmt = true;
|
programs.appimage.binfmt = true;
|
||||||
|
|||||||
7
server-dockers/.gitignore
vendored
Normal file
7
server-dockers/.gitignore
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
configurations/homepage/bookmarks.yaml
|
||||||
|
configurations/homepage/custom.css
|
||||||
|
configurations/homepage/custom.js
|
||||||
|
configurations/homepage/docker.yaml
|
||||||
|
configurations/homepage/kubernetes.yaml
|
||||||
|
configurations/homepage/kubernetes.yaml
|
||||||
|
|
||||||
24202
server-dockers/GrafanaDashboard-NodeExporterFull.json
Normal file
24202
server-dockers/GrafanaDashboard-NodeExporterFull.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -27,10 +27,14 @@
|
|||||||
description: download youtube music & videos
|
description: download youtube music & videos
|
||||||
|
|
||||||
- Altres:
|
- Altres:
|
||||||
- grafana:
|
- raspberry grafana:
|
||||||
icon: grafana.png
|
icon: grafana.png
|
||||||
href: http://192.168.1.155:3000/d/rYdddlPWk/node-exporter-full
|
href: http://192.168.1.155:3000/d/rYdddlPWk/node-exporter-full
|
||||||
description: grafana dashboard
|
description: raspberry grafana dashboard
|
||||||
|
- Galdric grafana:
|
||||||
|
icon: grafana.png
|
||||||
|
href: http://192.168.1.156:3000/d/rYdddlPWk/node-exporter-full
|
||||||
|
description: Galdric grafana dashboard
|
||||||
- Wallabag:
|
- Wallabag:
|
||||||
icon: wallabag.png
|
icon: wallabag.png
|
||||||
href: http://192.168.1.155:8098
|
href: http://192.168.1.155:8098
|
||||||
@@ -43,4 +47,4 @@
|
|||||||
type: pihole
|
type: pihole
|
||||||
url: http://192.168.1.155
|
url: http://192.168.1.155
|
||||||
version: 6 # required if running v6 or higher, defaults to 5
|
version: 6 # required if running v6 or higher, defaults to 5
|
||||||
key: YOUR_PASSWORD_HERE
|
key: YOUR_PASSWORD_HERE # password
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
version: '3.8'
|
#version: '3.8'
|
||||||
|
|
||||||
#
|
#
|
||||||
# More info: https://arnaucube.com/media-setup/
|
# More info: https://arnaucube.com/media-setup/
|
||||||
#
|
#
|
||||||
@@ -9,6 +10,9 @@ version: '3.8'
|
|||||||
# - Replace the `/mnt/usb` to your custom location, usually an external hard
|
# - Replace the `/mnt/usb` to your custom location, usually an external hard
|
||||||
# drive.
|
# drive.
|
||||||
#
|
#
|
||||||
|
# Before running: mount the external hard drive!!
|
||||||
|
# > sudo mount /dev/sda /mnt/usb
|
||||||
|
#
|
||||||
# Run:
|
# Run:
|
||||||
# > sudo docker compose up -d
|
# > sudo docker compose up -d
|
||||||
#
|
#
|
||||||
@@ -111,3 +115,50 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /mnt/usb/configurations/homepage:/app/config
|
- /mnt/usb/configurations/homepage:/app/config
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
# metrics related:
|
||||||
|
prometheus:
|
||||||
|
image: prom/prometheus:latest
|
||||||
|
container_name: prometheus
|
||||||
|
ports:
|
||||||
|
- "9090:9090"
|
||||||
|
volumes:
|
||||||
|
- ./prometheus.yml:/etc/prometheus/prometheus.yml
|
||||||
|
- prometheus_data:/prometheus
|
||||||
|
networks:
|
||||||
|
- monitoring
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
node-exporter:
|
||||||
|
image: prom/node-exporter:latest
|
||||||
|
container_name: node-exporter
|
||||||
|
ports:
|
||||||
|
- "9100:9100"
|
||||||
|
networks:
|
||||||
|
- monitoring
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
grafana:
|
||||||
|
image: grafana/grafana:latest
|
||||||
|
container_name: grafana
|
||||||
|
ports:
|
||||||
|
- "3000:3000"
|
||||||
|
environment:
|
||||||
|
- GF_SECURITY_ADMIN_PASSWORD=admin
|
||||||
|
volumes:
|
||||||
|
- grafana_data:/var/lib/grafana
|
||||||
|
networks:
|
||||||
|
- monitoring
|
||||||
|
depends_on:
|
||||||
|
- prometheus
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
networks:
|
||||||
|
monitoring:
|
||||||
|
driver: bridge
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
prometheus_data:
|
||||||
|
driver: local
|
||||||
|
grafana_data:
|
||||||
|
driver: local
|
||||||
|
|||||||
11
server-dockers/prometheus.yml
Normal file
11
server-dockers/prometheus.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
global:
|
||||||
|
scrape_interval: 15s
|
||||||
|
evaluation_interval: 15s
|
||||||
|
|
||||||
|
scrape_configs:
|
||||||
|
- job_name: 'prometheus'
|
||||||
|
static_configs:
|
||||||
|
- targets: ['localhost:9090']
|
||||||
|
- job_name: 'node-exporter'
|
||||||
|
static_configs:
|
||||||
|
- targets: ['node-exporter:9100']
|
||||||
Reference in New Issue
Block a user