config/hosts/op5p/configuration.nix

30 lines
494 B
Nix
Raw Normal View History

2024-03-06 11:51:26 +02:00
{...}: {
2024-02-26 15:20:57 +02:00
imports = [
2024-03-06 11:51:26 +02:00
../../modules
../../shared/platform/orangepi5plus.nix
2024-02-26 15:20:57 +02:00
];
2024-03-06 11:51:26 +02:00
mj = {
stateVersion = "23.11";
timeZone = "UTC";
username = "nixos";
2024-02-26 15:20:57 +02:00
2024-03-06 11:51:26 +02:00
base.users = {
2024-02-26 15:20:57 +02:00
enable = true;
2024-03-06 11:51:26 +02:00
user.initialHashedPassword = "";
root.initialHashedPassword = "";
2024-02-26 15:20:57 +02:00
};
};
2024-03-06 11:51:26 +02:00
security.sudo = {
enable = true;
wheelNeedsPassword = false;
};
2024-02-26 15:20:57 +02:00
networking = {
hostName = "op5p";
domain = "jakstys.lt";
firewall.allowedTCPPorts = [22];
};
}