-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfiguration.nix
More file actions
42 lines (32 loc) · 816 Bytes
/
configuration.nix
File metadata and controls
42 lines (32 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
config,
lib,
modulesPath,
...
}: {
imports = [
"${toString modulesPath}/profiles/qemu-guest.nix"
];
boot.consoleLogLevel = 8;
boot.initrd.systemd.enable = true;
# The serial ports listed here are:
# - ttyS0: for Tegra (Jetson TX1)
# - ttyAMA0: for QEMU's -machine virt
boot.kernelParams = [
"console=tty0"
"console=ttyAMA0,115200n8"
"console=ttyS0,115200n8"
];
boot.loader.grub.enable = false;
boot.loader.generic-extlinux-compatible.enable = true;
console.earlySetup = true;
fileSystems."/" = {
fsType = "ext4";
device = "/dev/disk/by-label/osmc";
};
hardware.enableRedistributableFirmware = true;
networking.hostName = "osmc";
networking.wireless.enable = false;
system.stateVersion = "23.11";
users.users.root.password = "osmc";
}