backup node fully integrated
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./hardware-configuration.nix ../../modules/ssh.nix ];
|
||||
|
||||
networking.hostName = "backup";
|
||||
|
||||
users.users.lilac = {
|
||||
@@ -21,6 +23,13 @@
|
||||
|
||||
time.timeZone = "America/Winnipeg";
|
||||
|
||||
systemd.sleep.settings.Sleep = {
|
||||
AllowSuspend = "no";
|
||||
AllowHibernation = "no";
|
||||
AllowHybridSleep = "no";
|
||||
AllowSuspendThenHibernate = "no";
|
||||
};
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "en_US.UTF-8";
|
||||
@@ -57,6 +66,11 @@
|
||||
tor-browser
|
||||
];
|
||||
|
||||
networking.wireless.enable = true;
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
services.timesyncd.enable = true; # optional
|
||||
|
||||
networking = {
|
||||
firewall = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user