68 lines
1.9 KiB
Nix
68 lines
1.9 KiB
Nix
{ inputs, config, pkgs, lib, ... }:
|
|
/*
|
|
|
|
https://wiki.pine64.org/wiki/Pinebook_Pro
|
|
https://wiki.pine64.org/wiki/Pinebook_Pro_Software_Releases
|
|
https://wiki.nixos.org/wiki/NixOS_on_ARM/PINE64_Pinebook_Pro
|
|
https://github.com/NixOS/nixos-hardware/blob/master/pine64/pinebook-pro/README.md
|
|
|
|
# tow-boot
|
|
https://tow-boot.org/devices/pine64-pinebookPro.html
|
|
https://github.com/Tow-Boot/Tow-Boot/releases
|
|
|
|
# nixos aarch64 sd-images
|
|
https://wiki.nixos.org/wiki/NixOS_on_ARM/Installation#SD_card_images_(SBCs_and_similar_platforms)
|
|
|
|
https://wiki.nixos.org/wiki/NixOS_on_ARM
|
|
https://wiki.nixos.org/wiki/NixOS_on_ARM/Initial_Configuration
|
|
|
|
*/
|
|
{
|
|
# Bootloader
|
|
#boot.loader.systemd-boot.enable = true;
|
|
#boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
imports = [
|
|
#./hardware-configuration.nix
|
|
inputs.nixos-hardware.nixosModules.pine64-pinebook-pro
|
|
|
|
# ../../../profiles/nix-ld.nix
|
|
../../../profiles/sshd
|
|
# ../../../profiles/earlyoom.nix
|
|
# ../../../profiles/no-suspend.nix
|
|
# ../../../profiles/oci/podman.nix
|
|
# ../../../profiles/oci/docker.nix
|
|
|
|
../../../users/pbsds
|
|
|
|
#../../../profiles/mounts/freon-nfs.nix
|
|
#../../../profiles/mounts/reidun-nfs.nix
|
|
#../../../profiles/mounts/meconium-nfs.nix
|
|
#../../../profiles/mounts/fridge-nfs.nix
|
|
|
|
../../../profiles/shell.nix
|
|
|
|
../../../profiles/desktop
|
|
../../../profiles/desktop/gnome # configures gdm
|
|
../../../profiles/desktop/sound/pipewire.nix
|
|
|
|
# ../../../profiles/desktop/steam.nix
|
|
# ../../../profiles/desktop/retroarch.nix
|
|
# ../../../profiles/desktop/flatpak.nix
|
|
# ../../../profiles/desktop/waydroid.nix
|
|
|
|
../../../profiles/known-hosts
|
|
];
|
|
|
|
environment.systemPackages = [
|
|
pkgs.pinebookpro-keyboard-updater
|
|
];
|
|
|
|
networking.firewall.allowedTCPPorts = [ 57621 ]; # spotify local discovery
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
# TODO: remove? Move?
|
|
programs.dconf.enable = true;
|
|
}
|