dotfiles/pindakaas.nix

39 lines
1.1 KiB
Nix
Raw Normal View History

{ pkgs, config, ... }:
2023-10-28 22:09:36 +02:00
{
imports = [
# First commit before 23.05 release date:
"${builtins.fetchTarball "https://github.com/NixOS/nixos-hardware/archive/468a7a108108908c7a35d6549f1e1f0236a9448a.tar.gz"}/pine64/pinebook-pro"
2023-11-22 00:52:31 +01:00
./os/loader.nix
2023-11-28 00:34:30 +01:00
./pindakaas_disko.nix
2023-10-28 22:09:36 +02:00
];
2023-11-28 00:34:30 +01:00
boot = {
# nixos-hardware use latest kernel by default. It has been set a while ago, we maybe don't need it anymore?
kernelPackages = pkgs.linuxPackages;
# Pinebook supports UEFI, at least when tow-boot is installed on the SPI
loader = {
# EFI Variables don't work (no generation appears in systemd-boot)
efi.canTouchEfiVariables = false;
# systemd-boot crashes after booting, so GRUB it is
grub = {
enable = true;
efiSupport = true;
efiInstallAsRemovable = true;
device = "nodev";
};
};
};
2023-11-22 14:05:48 +01:00
networking.hostName = "pindakaas";
2023-11-22 16:32:20 +01:00
2023-11-28 00:34:30 +01:00
# DEBUG Barebones is faster
frogeye.dev.ansible = false;
frogeye.dev.python = false;
# frogeye.extra = false; # FIXME Not working yet
# frogeye.desktop.xorg = true;
# frogeye.dev.docker = true;
2023-10-28 22:09:36 +02:00
}