mob next [ci-skip] [ci skip] [skip ci]

lastFile:machines/stellio/configuration.nix
This commit is contained in:
2026-08-17 14:19:38 +07:00
parent 491276d850
commit 040933e5ee
3 changed files with 28 additions and 0 deletions
+9
View File
@@ -2,11 +2,20 @@
{
imports = [
inputs.matthew-hardware.nixosModules.mt7986a-glinet-gl-mt6000
./hardware-configuration.nix
];
hardware.mt7986a-glinet-gl-mt6000.enable = true;
hardware.mt7986a-glinet-gl-mt6000.zealous = true;
hardware.mt7986a-glinet-gl-mt6000.image.repart.enable = true;
image.modules.sd-card = {
disabledModules = [
./hardware-configuration.nix
];
};
nixpkgs.hostPlatform.system = "aarch64-linux";
nixpkgs.buildPlatform.system = "x86_64-linux";
+13
View File
@@ -0,0 +1,13 @@
{ inputs, ... }:
{
disko = {
imageBuilder = {
# Avoid double emulation to significantly speed up image building process.
# Update the system according to your host system.
# See https://github.com/nix-community/disko/issues/856
qemu =
inputs.nixpkgs.legacyPackages.x86_64-linux.qemu
+ "/bin/qemu-system-aarch64 -M virt -cpu cortex-a57";
};
};
}
@@ -0,0 +1,6 @@
{
fileSystems."/" = {
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
fsType = "ext4";
};
}