system/machines/magenta/default.nix

20 lines
391 B
Nix
Raw Normal View History

2022-10-13 07:47:31 +03:00
{ ... }:
let
data = import ../../data.nix;
in
{
imports = [
./hardware-configuration.nix
./networking.nix # generated at runtime by nixos-infect
../modules/common.nix
];
boot.cleanTmpDir = true;
zramSwap.enable = true;
networking.hostName = "magenta";
services.openssh.enable = true;
users.users.root.openssh.authorizedKeys.keys = data.publicKeys.users.jan;
}