hardware rewrite
This commit is contained in:
parent
46c2e595fe
commit
277291f346
8 changed files with 40 additions and 50 deletions
|
|
@ -1,13 +1,8 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
imports = [ ../common.nix ./hardware-configuration.nix
|
||||
./mods/web.nix ./mods/mail.nix ./mods/sysd.nix ];
|
||||
boot.kernelParams = [
|
||||
"consoleblank=60"
|
||||
#TPM fix
|
||||
"memmap=0x4000%0xbfb76000-4"
|
||||
"memmap=0x4000%0xbfb7a000-4"
|
||||
];
|
||||
boot.kernelParams = [ "consoleblank=60" ];
|
||||
imports = [ ../common.nix ./hardware.nix
|
||||
./mods/web.nix ./mods/mail.nix ./mods/system.nix ];
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "letsencrypt@bogaledev.ru";
|
||||
|
|
@ -20,7 +15,7 @@
|
|||
};
|
||||
};
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /root/backup/server 0700 root root -"
|
||||
"d /root/backup/server"
|
||||
"L /root/backup/server/http - - - - /srv/http"
|
||||
"L /root/backup/server/acme - - - - /var/lib/acme"
|
||||
"L /root/backup/server/mail - - - - /var/spool/mail"
|
||||
|
|
@ -35,9 +30,6 @@
|
|||
};
|
||||
users = {
|
||||
nginx.extraGroups = [ "php" "acme" ];
|
||||
root.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+wc+3rahpNa+OMS9gaWgMQIxXIKHy4Beku5LBDt+Ow"
|
||||
];
|
||||
php = {
|
||||
uid = 1568;
|
||||
group = "php";
|
||||
|
|
@ -48,6 +40,9 @@
|
|||
group = "vmail";
|
||||
isSystemUser = true;
|
||||
};
|
||||
root.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+wc+3rahpNa+OMS9gaWgMQIxXIKHy4Beku5LBDt+Ow"
|
||||
];
|
||||
};
|
||||
};
|
||||
networking = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue