38 lines
794 B
Nix
38 lines
794 B
Nix
{ tree, modulesPath, config, pkgs, lib, ... }:
|
|
|
|
{
|
|
imports = with tree; [
|
|
users.root
|
|
users.chaos
|
|
|
|
profiles.base
|
|
profiles.tailscale
|
|
profiles.sshd
|
|
|
|
profiles.connectivity.network_manager
|
|
profiles.connectivity.bluetooth
|
|
profiles.connectivity.ios
|
|
|
|
./boot.nix
|
|
(modulesPath + "/installer/sd-card/sd-image.nix")
|
|
];
|
|
|
|
home-manager.users.root = {
|
|
imports = with tree; [ home.base home.dev.small ];
|
|
};
|
|
home-manager.users.chaos = {
|
|
imports = with tree; [ home.base home.dev.small ];
|
|
};
|
|
|
|
boot.supportedFilesystems = lib.mkForce [ "vfat" ];
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
networking.hostName = "raspberry";
|
|
time.timeZone = "Europe/London";
|
|
|
|
sdImage.compressImage = lib.mkForce false;
|
|
|
|
system.stateVersion = "21.11";
|
|
}
|
|
|