Skip to content

Commit

Permalink
Correct a few mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
simonswine committed Oct 20, 2024
1 parent 8877c29 commit b2c6158
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
4 changes: 4 additions & 0 deletions targets/tma-orangepi5plus/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
../../common/tma-base.nix
];

boot.initrd.systemd.enable = true;

networking.hostName = "tma-orangepi5plus";

system.stateVersion = "24.05";

}
15 changes: 13 additions & 2 deletions targets/tma-orangepi5plus/hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:

let
in
{
imports =
[
Expand All @@ -14,9 +15,19 @@
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];

fileSystems."/boot" =
{
device = "/dev/disk/by-uuid/21E9-58D6";
fsType = "vfat";
options = [
"fmask=0137"
"dmask=0027"
];
};

fileSystems."/" =
{
device = "/dev/disk/by-uuid/14e19a7b-0ae0-484d-9d54-43bd6fdc20c7";
device = "/dev/disk/by-uuid/d1c564ae-5fd9-4e3f-816c-0b305885961d";
fsType = "ext4";
};

Expand Down

0 comments on commit b2c6158

Please sign in to comment.