forked from pub-solar/os
26 lines
711 B
Nix
26 lines
711 B
Nix
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||
# and may be overwritten by future invocations. Please make changes
|
||
# to /etc/nixos/configuration.nix instead.
|
||
{ config, lib, pkgs, modulesPath, ... }:
|
||
|
||
{
|
||
imports = [
|
||
"${fetchTarball {
|
||
url = "https://github.com/NixOS/nixos-hardware/archive/8f1bf828d8606fe38a02df312cf14546ae200a72.tar.gz";
|
||
sha256 = "11milap153g3f63fcrcv4777vd64f7wlfkk9p3kpxi6dqd2sxvh4";
|
||
}
|
||
}/raspberry-pi/4"
|
||
];
|
||
|
||
fileSystems = {
|
||
"/" = {
|
||
device = "/dev/disk/by-label/NIXOS_SD";
|
||
fsType = "ext4";
|
||
options = [ "noatime" ];
|
||
};
|
||
};
|
||
|
||
# Enable GPU acceleration
|
||
#hardware.raspberry-pi."4".fkms-3d.enable = true;
|
||
}
|