format nix
This commit is contained in:
parent
d857958abc
commit
bcaa56ee97
|
@ -1,4 +1,4 @@
|
||||||
{...}: {
|
{ ... }: {
|
||||||
programs.ssh.enable = true;
|
programs.ssh.enable = true;
|
||||||
programs.ssh.matchBlocks = {
|
programs.ssh.matchBlocks = {
|
||||||
"lappy" = {
|
"lappy" = {
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
networks.eth0 = {
|
networks.eth0 = {
|
||||||
name = "eth0";
|
name = "eth0";
|
||||||
address = ["2a01:4f9:c010:8beb::/64"];
|
address = [ "2a01:4f9:c010:8beb::/64" ];
|
||||||
gateway = [ "fe80::1" ];
|
gateway = [ "fe80::1" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
{...}: {
|
{ ... }: {
|
||||||
services.restic.backups.hetzner-vm = {
|
services.restic.backups.hetzner-vm = {
|
||||||
user = "root";
|
user = "root";
|
||||||
paths = [
|
paths = [ "/var/lib/postgresql" "/var/lib/vault" ];
|
||||||
"/var/lib/postgresql"
|
|
||||||
"/var/lib/vault"
|
|
||||||
];
|
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
OnBootSec = "1m";
|
OnBootSec = "1m";
|
||||||
OnCalendar = "daily";
|
OnCalendar = "daily";
|
||||||
|
|
|
@ -3,4 +3,5 @@
|
||||||
services.tlp.enable = true;
|
services.tlp.enable = true;
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = true;
|
||||||
powerManagement.powertop.enable = true;
|
powerManagement.powertop.enable = true;
|
||||||
|
programs.light.enable = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue