nixfiles/config/hosts/seras/configuration.nix

36 lines
1 KiB
Nix
Raw Normal View History

2024-04-03 10:38:55 +02:00
{ config, inputs, lib, pkgs, ... }: {
imports = [
../../common
../../profiles/headless.nix
../../profiles/kartoffel.nix
../../profiles/lxc.nix
];
boot.binfmt.emulatedSystems = ["aarch64-linux"];
deployment.targetUser = "emily";
networking = {
hostName = "seras";
nftables.enable = lib.mkForce false;
};
nix.settings.trusted-users = [ "nixremote" ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
systemd.network.networks."98-eth-default" = {
address = [
"2a0f:be01:0:100::169/128"
];
};
users.users.nixremote = {
isNormalUser = true;
shell = pkgs.fish;
ignoreShellProgramCheck = true;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA/+iN407+HsfHbbC3tfdA8Yf4TZ08qXQMb4tb/SDAs+ emily@card"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICT0dGyLUjxFnvqUmex+5xUGQ7D4yGHKo267JgApcq0k root@ryuuko"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIDTwCSWYODyvTJxwB6Rahuy0j6s/YYwtQta8bjzG/We root@ryuuko-arch"
];
};
}