Fix: Use nix flake check for hooks, simplify module, remove apps

This commit is contained in:
2026-02-05 17:26:54 +01:00
parent 4ac16cedc4
commit e5c8fb3d48
21 changed files with 1538 additions and 101 deletions

View File

@@ -1,10 +1,11 @@
{ lib
, inputs
, outputs
, self
, config
, pkgs
, ...
{
lib,
inputs,
outputs,
self,
config,
pkgs,
...
}:
let
username = "h";
@@ -39,7 +40,7 @@ in
# ../../modules/vpn/wireguard.nix
(import ../../modules/secrets { inherit lib inputs config; })
../../modules/docker
../../modules/syncthing
# ../../modules/syncthing
../../modules/git-hooks
];
@@ -100,37 +101,12 @@ in
services = {
git-hooks = {
enable = true;
flake-path = self;
};
fwupd.enable = true;
openssh = {
enable = true;
harden = true;
};
};
my.syncthing = {
enable = true;
deviceNames = [
"boox"
"andromache"
];
folders = {
readings = {
path = "/home/h/doc/readings";
id = "readings";
devices = [
{
device = "boox";
type = "receiveonly";
}
"andromache"
];
};
};
};
services = {
locate = {
enable = true;
package = pkgs.plocate;