41 lines
788 B
Nix
41 lines
788 B
Nix
{
|
|
tree,
|
|
modulesPath,
|
|
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";
|
|
}
|