nixfiles/hosts/raspberry/raspberry.nix
ChaotiCryptidz aff7a41105 e
2022-01-24 16:50:53 +00:00

42 lines
874 B
Nix

{ tree, modulesPath, config, pkgs, lib, ... }:
{
imports = with tree; [
users.root
users.chaoticryptidz
profiles.base
profiles.tailscale
profiles.sshd
profiles.connectivity.bluetooth
profiles.connectivity.ios
(modulesPath + "/installer/sd-card/sd-image-aarch64.nix")
];
home-manager.users.root = {
imports = with tree; [ home.base home.dev.small ];
};
home-manager.users.chaoticryptidz = {
imports = with tree; [ home.base home.dev.small ];
};
boot.kernelPackages = pkgs.linuxPackages_5_15;
networking.hostName = "raspberry";
time.timeZone = "Europe/London";
networking.useDHCP = true;
networking.wireless = {
enable = false;
environmentFile = "/secrets/wifi-env";
networks.BT-JGA898.psk = "@PSK_HOME@";
};
sdImage.compressImage = lib.mkForce false;
system.stateVersion = "21.11";
}