nixfiles/hosts/raspberry/raspberry.nix

38 lines
794 B
Nix
Raw Normal View History

{ tree, modulesPath, config, pkgs, lib, ... }:
{
imports = with tree; [
users.root
users.chaos
2022-01-04 12:31:29 +00:00
profiles.base
profiles.tailscale
profiles.sshd
2022-03-02 16:19:09 +00:00
profiles.connectivity.network_manager
profiles.connectivity.bluetooth
profiles.connectivity.ios
2022-01-24 21:18:03 +00:00
./boot.nix
(modulesPath + "/installer/sd-card/sd-image.nix")
2022-01-04 12:31:29 +00:00
];
2022-01-16 11:22:44 +00:00
home-manager.users.root = {
imports = with tree; [ home.base home.dev.small ];
};
home-manager.users.chaos = {
2022-01-16 11:22:44 +00:00
imports = with tree; [ home.base home.dev.small ];
};
2022-01-24 21:18:03 +00:00
boot.supportedFilesystems = lib.mkForce [ "vfat" ];
boot.kernelPackages = pkgs.linuxPackages_latest;
2022-01-24 16:50:53 +00:00
networking.hostName = "raspberry";
time.timeZone = "Europe/London";
sdImage.compressImage = lib.mkForce false;
system.stateVersion = "21.11";
}