Compare commits
No commits in common. "a316bcc356041dd1605f8caeeba0a74ecd559a7c" and "6bdb0123d1d796c237588d340ed0241987b968b8" have entirely different histories.
a316bcc356
...
6bdb0123d1
@ -9,9 +9,8 @@
|
|||||||
- ZFS pool configuration: hardware-configuration.nix
|
- ZFS pool configuration: hardware-configuration.nix
|
||||||
- Network configuration: networking.nix
|
- Network configuration: networking.nix
|
||||||
- Printing and scanner server: printing.nix
|
- Printing and scanner server: printing.nix
|
||||||
- Synchronization and backup services: datasync.nix
|
- Nginx and PostgreSQL: webstack.nix
|
||||||
- Web services and reverse proxy: webstack.nix
|
- Radicale and Syncthing: datasync.nix
|
||||||
- Development tools: devops.nix
|
- Gitea: devops.nix
|
||||||
- Smartd: monitoring.nix
|
|
||||||
|
|
||||||
All the modules are imported in *configuration.nix*
|
All the modules are imported in *configuration.nix*
|
||||||
|
@ -103,13 +103,12 @@
|
|||||||
|
|
||||||
# Import other configuration modules
|
# Import other configuration modules
|
||||||
imports = [
|
imports = [
|
||||||
./modules/hardware-configuration.nix
|
|
||||||
./modules/networking.nix
|
|
||||||
./modules/printing.nix
|
./modules/printing.nix
|
||||||
|
./modules/networking.nix
|
||||||
./modules/datasync.nix
|
./modules/datasync.nix
|
||||||
|
./modules/hardware-configuration.nix
|
||||||
./modules/webstack.nix
|
./modules/webstack.nix
|
||||||
./modules/devops.nix
|
./modules/devops.nix
|
||||||
./modules/monitoring.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
|
|
||||||
[auth]
|
[auth]
|
||||||
type = htpasswd
|
type = htpasswd
|
||||||
htpasswd_filename = /run/keys/radicale
|
htpasswd_filename = /var/lib/radicale/users
|
||||||
htpasswd_encryption = plain
|
htpasswd_encryption = plain
|
||||||
delay = 1
|
delay = 1
|
||||||
'';
|
'';
|
||||||
|
@ -1,23 +0,0 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
# Notify when a disk starts going haywire
|
|
||||||
services.smartd = {
|
|
||||||
enable = true;
|
|
||||||
notifications.mail = {
|
|
||||||
enable = true;
|
|
||||||
recipient = "akasroua@gmail.com";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Enable trivial MTA for smartd notifications
|
|
||||||
services.ssmtp = {
|
|
||||||
enable = true;
|
|
||||||
useTLS = true;
|
|
||||||
useSTARTTLS = true;
|
|
||||||
domain = "gmail.com";
|
|
||||||
hostName = "smtp.gmail.com:587";
|
|
||||||
authUser = "akasroua@gmail.com";
|
|
||||||
authPassFile = "/run/keys/ssmtp";
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,6 +1,6 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
let password = builtins.readFile /run/keys/ddclient;
|
let password = builtins.readFile /var/lib/ddclient/token;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user