nixfiles/hosts/raspberry/raspberry.nix

45 lines
851 B
Nix
Raw Normal View History

{
tree,
modulesPath,
pkgs,
lib,
...
}: {
imports = with tree; [
users.root
users.chaos
2022-01-04 12:31:29 +00:00
profiles.base
profiles.sshd
2022-03-02 16:19:09 +00:00
profiles.connectivity.network_manager
profiles.connectivity.bluetooth
profiles.connectivity.ios
./secrets.nix
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.stateVersion = "23.05";
2022-01-16 11:22:44 +00:00
};
home-manager.users.chaos = {
imports = with tree; [home.base home.dev.small];
home.stateVersion = "23.05";
2022-01-16 11:22:44 +00:00
};
boot.supportedFilesystems = lib.mkForce ["vfat"];
2022-01-24 21:18:03 +00:00
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";
}