Fix: Use nix flake check for hooks, simplify module, remove apps
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user