config/hosts/op5p/configuration.nix

45 lines
752 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 = {
2024-03-13 21:47:52 +02:00
skipPerf = true;
2024-03-06 11:51:26 +02:00
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-13 16:31:56 +02:00
boot.supportedFilesystems = ["btrfs" "bcachefs"];
2024-03-06 12:48:27 +02:00
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];
};
}