mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-24 18:31:43 +01:00
35 lines
1.1 KiB
Nix
35 lines
1.1 KiB
Nix
{
|
||
disko,
|
||
nixos-rk3588,
|
||
mylib,
|
||
...
|
||
}:
|
||
#############################################################
|
||
#
|
||
# Suzu - Orange Pi 5 Plus, RK3588 + 16GB RAM
|
||
#
|
||
# https://github.com/astro/microvm.nix
|
||
#
|
||
#############################################################
|
||
let
|
||
hostName = "suzu"; # Define your hostname.
|
||
in {
|
||
imports =
|
||
(mylib.scanPaths ./.)
|
||
++ [
|
||
# import the rk3588 module, which contains the configuration for bootloader/kernel/firmware
|
||
nixos-rk3588.nixosModules.orangepi5plus.core
|
||
disko.nixosModules.default
|
||
];
|
||
|
||
networking = {inherit hostName;};
|
||
|
||
# This value determines the NixOS release from which the default
|
||
# settings for stateful data, like file locations and database versions
|
||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||
# this value at the release version of the first install of this system.
|
||
# Before changing this value read the documentation for this option
|
||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||
system.stateVersion = "24.05"; # Did you read the comment?
|
||
}
|