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";
|
||||
@@ -37,7 +38,7 @@ in
|
||||
../../modules/ssh/hardened-openssh.nix
|
||||
(import ../../modules/secrets { inherit lib inputs config; })
|
||||
../../modules/docker
|
||||
../../modules/syncthing
|
||||
# ../../modules/syncthing
|
||||
../../modules/git-hooks
|
||||
];
|
||||
|
||||
@@ -102,7 +103,6 @@ in
|
||||
services = {
|
||||
git-hooks = {
|
||||
enable = true;
|
||||
flake-path = self;
|
||||
};
|
||||
|
||||
xserver = {
|
||||
@@ -113,32 +113,33 @@ in
|
||||
enable = true;
|
||||
harden = true;
|
||||
};
|
||||
|
||||
locate = {
|
||||
enable = true;
|
||||
package = pkgs.plocate;
|
||||
};
|
||||
};
|
||||
|
||||
my.syncthing = {
|
||||
enable = true;
|
||||
deviceNames = [
|
||||
"boox"
|
||||
"astyanax"
|
||||
];
|
||||
folders = {
|
||||
readings = {
|
||||
path = "/home/h/doc/readings";
|
||||
id = "readings";
|
||||
devices = [
|
||||
{
|
||||
device = "boox";
|
||||
type = "receiveonly";
|
||||
}
|
||||
"astyanax"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
# my.syncthing = {
|
||||
# enable = true;
|
||||
# deviceNames = [
|
||||
# "boox"
|
||||
# "astyanax"
|
||||
# ];
|
||||
# folders = {
|
||||
# readings = {
|
||||
# path = "/home/h/doc/readings";
|
||||
# id = "readings";
|
||||
# devices = [
|
||||
# {
|
||||
# device = "boox";
|
||||
# type = "receiveonly";
|
||||
# }
|
||||
# "astyanax"
|
||||
# ];
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
networking = {
|
||||
# TODO: generate unique hostId on actual host with: head -c 8 /etc/machine-id
|
||||
|
||||
Reference in New Issue
Block a user