config/hosts/op5p/configuration.nix

44 lines
723 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 13:58:26 +02:00
services = {
pcscd.enable = true;
};
2024-03-06 12:48:27 +02:00
boot.supportedFilesystems = ["bcachefs"];
2024-03-06 15:41:07 +02:00
fileSystems = {
"/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
options = ["noatime"];
};
};
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];
};
}