Compare commits

...

9 Commits

Author SHA1 Message Date
Xavier Morel 37f5abaa94 feat: add latest changes (?) 2026-05-13 11:18:08 +02:00
Xavier Morel 6af8a4d778 chore: several changes 2026-04-27 22:04:35 +02:00
Xavier Morel 6f413b589a feat: update lockfile 2026-04-17 10:07:46 +02:00
Xavier Morel d4454b3b48 feat: cleaning 2026-04-17 10:07:37 +02:00
Xavier Morel e4e58183f8 feat: somehow make frigate work 2026-04-16 15:03:45 +02:00
Xavier Morel 42caa0ea92 chore: update lockfile 2026-04-15 12:28:15 +02:00
Xavier Morel 45a0fd9a78 feat: add frigate to home 2026-04-15 12:28:07 +02:00
Xavier Morel 7279e23894 feat: add some programs to work 2026-04-15 12:27:53 +02:00
Xavier Morel 566a3fb361 chore: some updates to default apps 2026-04-15 12:27:40 +02:00
14 changed files with 475 additions and 106 deletions
+91
View File
@@ -0,0 +1,91 @@
0 person
1 bicycle
2 car
3 motorcycle
4 airplane
5 bus
6 train
7 car
8 boat
9 traffic light
10 fire hydrant
11 street sign
12 stop sign
13 parking meter
14 bench
15 bird
16 cat
17 dog
18 horse
19 sheep
20 cow
21 elephant
22 bear
23 zebra
24 giraffe
25 hat
26 backpack
27 umbrella
28 shoe
29 eye glasses
30 handbag
31 tie
32 suitcase
33 frisbee
34 skis
35 snowboard
36 sports ball
37 kite
38 baseball bat
39 baseball glove
40 skateboard
41 surfboard
42 tennis racket
43 bottle
44 plate
45 wine glass
46 cup
47 fork
48 knife
49 spoon
50 bowl
51 banana
52 apple
53 sandwich
54 orange
55 broccoli
56 carrot
57 hot dog
58 pizza
59 donut
60 cake
61 chair
62 couch
63 potted plant
64 bed
65 mirror
66 dining table
67 window
68 desk
69 toilet
70 door
71 tv
72 laptop
73 mouse
74 remote
75 keyboard
76 cell phone
77 microwave
78 oven
79 toaster
80 sink
81 refrigerator
82 blender
83 book
84 clock
85 vase
86 scissors
87 teddy bear
88 hair drier
89 toothbrush
90 hair brush
Generated
+129 -88
View File
@@ -102,12 +102,12 @@
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1771910357,
"narHash": "sha256-ns+2FDFS2BUbT1CshCF0hLYyYR2BiTOQqCMHDoGFXUo=",
"rev": "b0833008a670c5d1ad2d1afbd711c1bf101f5296",
"revCount": 405,
"lastModified": 1775584659,
"narHash": "sha256-NA5oZRunqxD+4LNdU7ZKJHqwuazKyAmBjO4OHXL14X4=",
"rev": "21dcaa011d3d35cf42a04e988eaac9b28c97a707",
"revCount": 411,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.16.3/019c8e19-e7a4-7fe4-ad79-b4b5feefd24a/source.tar.gz"
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.17.3/019d691b-0a67-74d9-90e1-1a3c86286399/source.tar.gz"
},
"original": {
"type": "tarball",
@@ -117,37 +117,37 @@
"determinate-nixd-aarch64-darwin": {
"flake": false,
"locked": {
"narHash": "sha256-NK3YCWCmz9WYQtXTg5/VYNo+KrV/7P5rBYqVhkzWEv8=",
"narHash": "sha256-qLWfYk9qkb21wKCDWnhMfqBFjcdBBJkNUKBlvdHSLgA=",
"type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.3/macOS"
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.17.3/macOS"
},
"original": {
"type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.3/macOS"
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.17.3/macOS"
}
},
"determinate-nixd-aarch64-linux": {
"flake": false,
"locked": {
"narHash": "sha256-RtiD/ualuvKSZH04G5KpBd2D4tcr5pv//cU+CGnByKs=",
"narHash": "sha256-0BmprPIRTopvJ2QdImOMP+TujAPVgRdl0bUL3vhqGIY=",
"type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.3/aarch64-linux"
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.17.3/aarch64-linux"
},
"original": {
"type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.3/aarch64-linux"
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.17.3/aarch64-linux"
}
},
"determinate-nixd-x86_64-linux": {
"flake": false,
"locked": {
"narHash": "sha256-XDzjUdfsnWtANfAzd8GpLkuch1+3rHDGD2uKN93Fw6M=",
"narHash": "sha256-+Q85cySxr0FB/cr97hk/WWYgeJY+iC4OH+FjGYygIbU=",
"type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.3/x86_64-linux"
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.17.3/x86_64-linux"
},
"original": {
"type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.3/x86_64-linux"
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.17.3/x86_64-linux"
}
},
"disko": {
@@ -157,11 +157,11 @@
]
},
"locked": {
"lastModified": 1771881364,
"narHash": "sha256-A5uE/hMium5of/QGC6JwF5TGoDAfpNtW00T0s9u/PN8=",
"lastModified": 1773889306,
"narHash": "sha256-PAqwnsBSI9SVC2QugvQ3xeYCB0otOwCacB1ueQj2tgw=",
"owner": "nix-community",
"repo": "disko",
"rev": "a4cb7bf73f264d40560ba527f9280469f1f081c6",
"rev": "5ad85c82cc52264f4beddc934ba57f3789f28347",
"type": "github"
},
"original": {
@@ -173,11 +173,11 @@
"firefox-gnome-theme": {
"flake": false,
"locked": {
"lastModified": 1764873433,
"narHash": "sha256-1XPewtGMi+9wN9Ispoluxunw/RwozuTRVuuQOmxzt+A=",
"lastModified": 1775176642,
"narHash": "sha256-2veEED0Fg7Fsh81tvVDNYR6SzjqQxa7hbi18Jv4LWpM=",
"owner": "rafaelmardojai",
"repo": "firefox-gnome-theme",
"rev": "f7ffd917ac0d253dbd6a3bf3da06888f57c69f92",
"rev": "179704030c5286c729b5b0522037d1d51341022c",
"type": "github"
},
"original": {
@@ -231,11 +231,11 @@
]
},
"locked": {
"lastModified": 1767609335,
"narHash": "sha256-feveD98mQpptwrAEggBQKJTYbvwwglSbOv53uCfH9PY=",
"lastModified": 1775087534,
"narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "250481aafeb741edfe23d29195671c19b36b6dca",
"rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b",
"type": "github"
},
"original": {
@@ -307,20 +307,18 @@
"gnome-shell": {
"flake": false,
"locked": {
"host": "gitlab.gnome.org",
"lastModified": 1767737596,
"narHash": "sha256-eFujfIUQDgWnSJBablOuG+32hCai192yRdrNHTv0a+s=",
"owner": "GNOME",
"repo": "gnome-shell",
"rev": "ef02db02bf0ff342734d525b5767814770d85b49",
"type": "gitlab"
"type": "github"
},
"original": {
"host": "gitlab.gnome.org",
"owner": "GNOME",
"ref": "gnome-49",
"repo": "gnome-shell",
"type": "gitlab"
"rev": "ef02db02bf0ff342734d525b5767814770d85b49",
"type": "github"
}
},
"home-manager": {
@@ -330,11 +328,11 @@
]
},
"locked": {
"lastModified": 1771851181,
"narHash": "sha256-gFgE6mGUftwseV3DUENMb0k0EiHd739lZexPo5O/sdQ=",
"lastModified": 1776373306,
"narHash": "sha256-iAJIzHngGZeLIkjzuuWI6VBsYJ1n89a/Esq0m8R1vjs=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "9a4b494b1aa1b93d8edf167f46dc8e0c0011280c",
"rev": "d401492e2acd4fea42f7705a3c266cea739c9c36",
"type": "github"
},
"original": {
@@ -352,12 +350,12 @@
"nixpkgs-regression": "nixpkgs-regression"
},
"locked": {
"lastModified": 1771906938,
"narHash": "sha256-yMI4VhuahG1027I+x/xy0F5FUM7ntwB/hDouCmpwEb8=",
"rev": "628d55ca372a6d9eb071804b589aaa8a6974807d",
"revCount": 24688,
"lastModified": 1775583600,
"narHash": "sha256-/shs/3GA4R3rxhhqpPbEMnDZKbCvf3VpwnHB75nkTcI=",
"rev": "e9b4735be7b90cf49767faf5c36f770ac1bdc586",
"revCount": 24880,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.16.3/019c8e13-4542-7edc-9244-38a597d18258/source.tar.gz"
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.17.3/019d6913-e8c2-7128-ba76-3dc4f6b58158/source.tar.gz"
},
"original": {
"type": "tarball",
@@ -366,11 +364,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1771969195,
"narHash": "sha256-qwcDBtrRvJbrrnv1lf/pREQi8t2hWZxVAyeMo7/E9sw=",
"lastModified": 1775490113,
"narHash": "sha256-2ZBhDNZZwYkRmefK5XLOusCJHnoeKkoN95hoSGgMxWM=",
"owner": "nixos",
"repo": "nixos-hardware",
"rev": "41c6b421bdc301b2624486e11905c9af7b8ec68e",
"rev": "c775c2772ba56e906cbeb4e0b2db19079ef11ff7",
"type": "github"
},
"original": {
@@ -427,12 +425,12 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1771177547,
"narHash": "sha256-trTtk3WTOHz7hSw89xIIvahkgoFJYQ0G43IlqprFoMA=",
"rev": "ac055f38c798b0d87695240c7b761b82fc7e5bc2",
"revCount": 946843,
"lastModified": 1775464765,
"narHash": "sha256-nex6TL2x1/sVHCyDWcvl1t/dbTedb9bAGC4DLf/pmYk=",
"rev": "83e29f2b8791f6dec20804382fcd9a666d744c07",
"revCount": 975711,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.946843%2Brev-ac055f38c798b0d87695240c7b761b82fc7e5bc2/019c6a25-fd20-733f-936e-6487e2957fe4/source.tar.gz"
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.975711%2Brev-83e29f2b8791f6dec20804382fcd9a666d744c07/019d6689-cde2-7061-b044-e0ef61ade488/source.tar.gz"
},
"original": {
"type": "tarball",
@@ -441,11 +439,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1771848320,
"narHash": "sha256-0MAd+0mun3K/Ns8JATeHT1sX28faLII5hVLq0L3BdZU=",
"lastModified": 1776169885,
"narHash": "sha256-l/iNYDZ4bGOAFQY2q8y5OAfBBtrDAaPuRQqWaFHVRXM=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "2fc6539b481e1d2569f25f8799236694180c0993",
"rev": "4bd9165a9165d7b5e33ae57f3eecbcb28fb231c9",
"type": "github"
},
"original": {
@@ -459,14 +457,15 @@
"inputs": {
"nixpkgs": [
"nixpkgs"
]
],
"noctalia-qs": "noctalia-qs"
},
"locked": {
"lastModified": 1771979542,
"narHash": "sha256-0hqvh2D8tdwFG9pT9Ds1EysZYPTKpVJCunnXQ31MUZ8=",
"lastModified": 1776302695,
"narHash": "sha256-xZc9o1JLQpmWn2Dqui323+Tq2Ai4sSdtdvbFZCs4qLo=",
"owner": "noctalia-dev",
"repo": "noctalia-shell",
"rev": "fe8e23f1d0e6ed4bdefd061e6834c4d61f2266be",
"rev": "a7c724181fca5d1aff2d47b18fa733504cfdbda2",
"type": "github"
},
"original": {
@@ -475,6 +474,29 @@
"type": "github"
}
},
"noctalia-qs": {
"inputs": {
"nixpkgs": [
"noctalia",
"nixpkgs"
],
"systems": "systems_3",
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1775957204,
"narHash": "sha256-d4CVRtAty2GzDYXx4xYQmR+nlOjjKovyprQfZhgLckU=",
"owner": "noctalia-dev",
"repo": "noctalia-qs",
"rev": "68e82fe34c68ee839a9c37e3466820e266af0c86",
"type": "github"
},
"original": {
"owner": "noctalia-dev",
"repo": "noctalia-qs",
"type": "github"
}
},
"nur": {
"inputs": {
"flake-parts": [
@@ -487,11 +509,11 @@
]
},
"locked": {
"lastModified": 1767810917,
"narHash": "sha256-ZKqhk772+v/bujjhla9VABwcvz+hB2IaRyeLT6CFnT0=",
"lastModified": 1775228139,
"narHash": "sha256-ebbeHmg+V7w8050bwQOuhmQHoLOEOfqKzM1KgCTexK4=",
"owner": "nix-community",
"repo": "NUR",
"rev": "dead29c804adc928d3a69dfe7f9f12d0eec1f1a4",
"rev": "601971b9c89e0304561977f2c28fa25e73aa7132",
"type": "github"
},
"original": {
@@ -527,19 +549,18 @@
"nixpkgs"
],
"nur": "nur",
"systems": "systems_3",
"tinted-foot": "tinted-foot",
"systems": "systems_4",
"tinted-kitty": "tinted-kitty",
"tinted-schemes": "tinted-schemes",
"tinted-tmux": "tinted-tmux",
"tinted-zed": "tinted-zed"
},
"locked": {
"lastModified": 1771787992,
"narHash": "sha256-Vg4bGwwenNYI8p3nJTl9FRyeIyrjATeZrZr+GyUSDrw=",
"lastModified": 1776170745,
"narHash": "sha256-Tl1aZVP5EIlT+k0+iAKH018GLHJpLz3hhJ0LNQOWxCc=",
"owner": "danth",
"repo": "stylix",
"rev": "30054cca073b49b42a71289edec858f535b27fe9",
"rev": "e3861617645a43c9bbefde1aa6ac54dd0a44bfa9",
"type": "github"
},
"original": {
@@ -579,6 +600,21 @@
}
},
"systems_3": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"systems_4": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
@@ -593,23 +629,6 @@
"type": "github"
}
},
"tinted-foot": {
"flake": false,
"locked": {
"lastModified": 1726913040,
"narHash": "sha256-+eDZPkw7efMNUf3/Pv0EmsidqdwNJ1TaOum6k7lngDQ=",
"owner": "tinted-theming",
"repo": "tinted-foot",
"rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "tinted-foot",
"rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
"type": "github"
}
},
"tinted-kitty": {
"flake": false,
"locked": {
@@ -629,11 +648,11 @@
"tinted-schemes": {
"flake": false,
"locked": {
"lastModified": 1767710407,
"narHash": "sha256-+W1EB79Jl0/gm4JqmO0Nuc5C7hRdp4vfsV/VdzI+des=",
"lastModified": 1772661346,
"narHash": "sha256-4eu3LqB9tPqe0Vaqxd4wkZiBbthLbpb7llcoE/p5HT0=",
"owner": "tinted-theming",
"repo": "schemes",
"rev": "2800e2b8ac90f678d7e4acebe4fa253f602e05b2",
"rev": "13b5b0c299982bb361039601e2d72587d6846294",
"type": "github"
},
"original": {
@@ -645,11 +664,11 @@
"tinted-tmux": {
"flake": false,
"locked": {
"lastModified": 1767489635,
"narHash": "sha256-e6nnFnWXKBCJjCv4QG4bbcouJ6y3yeT70V9MofL32lU=",
"lastModified": 1772934010,
"narHash": "sha256-x+6+4UvaG+RBRQ6UaX+o6DjEg28u4eqhVRM9kpgJGjQ=",
"owner": "tinted-theming",
"repo": "tinted-tmux",
"rev": "3c32729ccae99be44fe8a125d20be06f8d7d8184",
"rev": "c3529673a5ab6e1b6830f618c45d9ce1bcdd829d",
"type": "github"
},
"original": {
@@ -661,11 +680,11 @@
"tinted-zed": {
"flake": false,
"locked": {
"lastModified": 1767488740,
"narHash": "sha256-wVOj0qyil8m+ouSsVZcNjl5ZR+1GdOOAooAatQXHbuU=",
"lastModified": 1772909925,
"narHash": "sha256-jx/5+pgYR0noHa3hk2esin18VMbnPSvWPL5bBjfTIAU=",
"owner": "tinted-theming",
"repo": "base16-zed",
"rev": "11abb0b282ad3786a2aae088d3a01c60916f2e40",
"rev": "b4d3a1b3bcbd090937ef609a0a3b37237af974df",
"type": "github"
},
"original": {
@@ -674,6 +693,28 @@
"type": "github"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [
"noctalia",
"noctalia-qs",
"nixpkgs"
]
},
"locked": {
"lastModified": 1775636079,
"narHash": "sha256-pc20NRoMdiar8oPQceQT47UUZMBTiMdUuWrYu2obUP0=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "790751ff7fd3801feeaf96d7dc416a8d581265ba",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
},
"zen-browser": {
"inputs": {
"home-manager": [
@@ -684,11 +725,11 @@
]
},
"locked": {
"lastModified": 1772005916,
"narHash": "sha256-aFYnT0gStcu1PVTh2Xzd0n8PIEKmqvTgrVkpv49qc6M=",
"lastModified": 1776317517,
"narHash": "sha256-JP1XVRabZquf7pnXvRUjp7DV+EBrB6Qmp3+vG3HMy/k=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "044299e83752f78f9fc5d6a648f7f3dd84bb3b18",
"rev": "0a7be59e988bb2cb452080f59aaabae70bc415ae",
"type": "github"
},
"original": {
+202 -2
View File
@@ -5,7 +5,9 @@
nixpkgs,
...
}:
let
lib = pkgs.lib;
in
{
imports = [
./hardware-configuration.nix
@@ -63,6 +65,10 @@
networking.hostName = "arcueid"; # Define your hostname.
networking.networkmanager.enable = true;
networking.firewall.allowedTCPPorts = [
80
5000
];
nix = {
settings = {
auto-optimise-store = true;
@@ -142,6 +148,9 @@
systemd.tmpfiles.rules = [
"L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"
];
systemd.services.frigate.path = lib.mkBefore [ pkgs.ffmpeg-full ];
services = {
udev.packages = with pkgs; [
vial
@@ -159,7 +168,9 @@
layout = "us";
variant = "altgr-intl";
};
xserver.videoDrivers = [ "amdgpu" ];
xserver.videoDrivers = [
"amdgpu"
];
blueman.enable = true;
printing.enable = true;
avahi = {
@@ -173,6 +184,195 @@
alsa.support32Bit = true;
pulse.enable = true;
};
# ollama = {
# enable = true;
# host = "0.0.0.0";
# openFirewall = true;
# package = pkgs.ollama-rocm;
# syncModels = true;
# loadModels = [
# "gemma3:4b"
# "mistral:latest"
# "qwen3.5:4b"
# #"qwen3.5:9b"
# ];
# };
# open-webui = {
# enable = true;
# host = "0.0.0.0";
# port = 8080;
# openFirewall = true;
# environment = {
# WEBUI_ADMIN_EMAIL = "morelx42@protonmail.com";
# WEBUI_ADMIN_PASSWORD = "pouet";
# };
# };
# librechat = {
# enable = true;
# enableLocalDB = true;
# env = {
# CREDS_KEY = "caab82871d3949266571f79644b799bba1efa864367fdaecc2c0ea28c5f3135c";
# CREDS_IV = "4cb7bdbd6f7c2fd97366c1361f4810ef";
# JWT_SECRET = "d6ba21978eea938b51a1eef85629d1027425f34ac7971d58c73280fcd4fa9b92";
# JWT_REFRESH_SECRET = "f156cff757cd26a8a549f8a9f849b1c9e2b9107261c2f7eee6c72a78f4868124";
# MEILI_MASTER_KEY = "cc061e6953e20053606622d7c594b70a";
# };
# meilisearch.enable = true;
# };
# meilisearch = {
# enable = true;
# masterKeyFile = ./meilikey.txt;
# };
frigate = {
enable = true;
hostname = "arcueid.int.m0rel.eu";
vaapiDriver = "radeonsi";
settings = {
genai = {
provider = "ollama";
base_url = "http://localhost:11434";
model = "gemma3:4b";
};
mqtt = {
enabled = true;
host = "mqtt.int.m0rel.eu";
user = "frigate";
password = "pouet";
};
ffmpeg = {
hwaccel_args = "preset-vaapi";
input_args = "preset-rtsp-restream-low-latency";
path = pkgs.ffmpeg-full;
};
# ui.live_mode = "webrtc";
auth.enabled = false;
proxy.default_role = "admin";
# detectors = {
# ov_0 = {
# type = "openvino";
# device = "GPU";
# };
# ov_1 = {
# type = "openvino";
# device = "NPU";
# };
# # onnx.type = "onnx";
# };
# model = {
# model_type = "yolo-generic";
# width = 640;
# height = 640;
# input_tensor = "nchw";
# input_dtype = "float";
# path = ../../yolox_m.onnx;
# labelmap_path = ../../coco-80.txt;
# };
detect.enabled = true;
detect.fps = 2;
objects.track = [
"person"
"car"
"bird"
"cat"
"dog"
];
audio = {
enabled = false;
max_not_heard = 10;
min_volume = 500;
listen = [
"bark"
"fire_alarm"
"scream"
"speech"
"yell"
];
filters.speech.threshold = 0.8;
};
motion = {
enabled = true;
};
semantic_search.enabled = true;
semantic_search.model_size = "small";
review.detections.enabled = true;
record.enabled = true;
# record.retain.days = 2;
record.preview.quality = "medium";
face_recognition.enabled = true;
face_recognition.model_size = "small";
lpr.enabled = true;
audio_transcription = {
enabled = false;
device = "CPU";
model_size = "small";
language = "fr";
};
classification = {
bird.enabled = true;
custom = {
Animaux = {
enabled = true;
name = "Animaux";
threshold = 0.8;
object_config.objects = [
"cat"
"dog"
];
# classification_type = "sub_label";
};
Voitures = {
enabled = true;
name = "Voitures";
threshold = 0.8;
object_config.objects = [ "car" ];
# classification_type = "sub_label";
};
Personnes = {
enabled = true;
name = "Personnes";
threshold = 0.8;
object_config.objects = [ "person" ];
# classification_type = "sub_label";
};
};
};
snapshots.enabled = true;
snapshots.retain.default = 7;
cameras.front = {
enabled = true;
ffmpeg.inputs = [
{
path = "rtsp://admin:admin@192.168.68.240:554/?streamtype=0&subtype=1";
roles = [
"audio"
"detect"
"record"
];
}
];
onvif = {
host = "192.168.68.240";
port = 8899;
user = "admin";
password = "admin";
};
motion.mask = [
"0.316,0.037,0.317,0.012,0.035,0.01,0.033,0.035"
];
zones = {
cour = {
coordinates = "0.001,0.492,0.001,0.043,0.893,0.054,0.888,0.5";
};
entree = {
coordinates = "0.001,0.5,0.001,0.997,0.996,0.991,0.997,0.513";
};
};
};
};
};
};
myNixOS = {
+2
View File
@@ -66,6 +66,8 @@
# hyprland.enable = false;
# };
gtk.gtk4.theme = null;
# gtk = {
# iconTheme = {
# name = "Papirus-Dark";
+1
View File
@@ -0,0 +1 @@
cc061e6953e20053606622d7c594b70a
+8 -2
View File
@@ -7,8 +7,8 @@
{
imports = [
inputs.disko.nixosModules.disko
(modulesPath + "/installer/scan/not-detected.nix")
./disk-config.nix
(modulesPath + "/installer/scan/not-detected.nix")
./hardware-configuration.nix
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-p14s-amd-gen5
];
@@ -22,6 +22,7 @@
};
};
archetype.general.enable = true;
feature.gaming.enable = true;
feature.fonts.enable = true;
feature.virtualisation.enable = true;
};
@@ -44,9 +45,10 @@
initrd.kernelModules = [ "amdgpu" ];
plymouth.enable = true;
};
documentation.man.generateCaches = false;
documentation.man.cache.enable = true;
programs = {
niri.enable = true; # test...
nix-index.enable = true;
obs-studio = {
enable = true;
plugins = [ pkgs.obs-studio-plugins.wlrobs ];
@@ -110,6 +112,10 @@
pkgs.bottles
pkgs.podman
pkgs.podman-compose
pkgs.comma
pkgs.easyeffects
pkgs.kdePackages.qtwebsockets
]
++ [
(
+28
View File
@@ -28,6 +28,7 @@
stateVersion = "23.11";
file.".config/niri/config.kdl".source = ../../dotfiles/niri/config.kdl;
};
gtk.gtk4.theme = null;
programs = {
git = {
settings.user = {
@@ -37,6 +38,14 @@
};
home-manager.enable = true;
rofi.enable = true;
rbw = {
enable = true;
settings = {
base_url = "https://vault.plg.m0rel.eu";
email = "morelx42@protonmail.com";
pinentry = pkgs.pinentry-rofi;
};
};
noctalia-shell = {
# https://docs.noctalia.dev/getting-started/nixos/#config-ref
enable = true;
@@ -66,6 +75,25 @@
name = "Plélan-le-Grand";
};
};
plugins = {
sources = [
{
enabled = true;
name = "Official Noctalia Plugins";
url = "https://github.com/noctalia-dev/noctalia-plugins";
}
];
states = {
catwalk = {
enabled = true;
sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins";
};
hassio = {
enabled = true;
sourceUrl = "https://github.com/noctalia-dev/noctalia-plugins";
};
};
};
};
quickshell.enable = true;
alacritty.enable = true;
@@ -16,7 +16,7 @@
pkgs.jq
pkgs.brightnessctl
pkgs.flameshot
pkgs.lutris
# pkgs.lutris
pkgs.ungoogled-chromium
pkgs.thunar
pkgs.thunar-archive-plugin
@@ -26,7 +26,7 @@
];
programs.zen-browser = {
enable = true;
suppressXdgMigrationWarning = true;
# suppressXdgMigrationWarning = true;
};
};
}
+1 -1
View File
@@ -18,7 +18,7 @@
just
killall
lazyjj
neofetch
fastfetch
p7zip
ripgrep
tree
+1 -1
View File
@@ -10,7 +10,7 @@ let
# tiled
# aseprite
# inkscape
sweethome3d.application
# sweethome3d.application
];
printing-apps = with pkgs; [
blender
+2 -2
View File
@@ -18,8 +18,8 @@
];
programs.neovim = {
enable = true;
vimAlias = true;
viAlias = true;
withRuby = false;
withPython3 = true;
};
home.file.".config/nvim" = {
source = ../../../dotfiles/nvim;
+2 -2
View File
@@ -9,9 +9,9 @@
config = lib.mkIf config.myNixOS.feature.gaming.enable {
environment.systemPackages = with pkgs; [
bottles
# bottles
steam
discord
# discord
];
programs.steam.enable = true;
programs.gamemode.enable = true;
+6 -6
View File
@@ -22,16 +22,16 @@
cursor.size = 24;
fonts = {
monospace = {
package = pkgs.nerd-fonts.jetbrains-mono;
name = "JetBrainsMono Nerd Font Mono";
package = pkgs.fira-code; # nerd-fonts.jetbrains-mono;
name = "Fira Code"; # JetBrainsMono Nerd Font Mono";
};
sansSerif = {
package = pkgs.montserrat;
name = "Montserrat";
package = pkgs.fira-sans; # montserrat;
name = "Fira Sans"; # Montserrat";
};
serif = {
package = pkgs.montserrat;
name = "Montserrat";
package = pkgs.fira-sans; # montserrat;
name = "Fira Sans"; # Montserrat";
};
sizes = {
applications = 12;
BIN
View File
Binary file not shown.