nixfiles/hosts/raspberry/raspberry.nix

44 lines
767 B
Nix
Raw Normal View History

2024-08-31 14:05:17 +01:00
{
lib,
tree,
...
}: let
inherit (lib.lists) flatten;
in {
nixpkgs.overlays = [
(_final: super: {
makeModulesClosure = x:
super.makeModulesClosure (x // {allowMissing = true;});
})
];
imports = flatten (with tree; [
users.root
users.chaos
(with tree.presets.nixos; [
#desktopGui
])
(with presets.home-manager.by-user; [
root.base
chaos.base
#chaos.guiDesktop
])
./hardware.nix
]);
networking.firewall = {
enable = true;
allowPing = true;
};
networking.hostName = "raspberry";
time.timeZone = "Europe/London";
system.stateVersion = "24.05";
home-manager.users.root.home.stateVersion = "24.05";
home-manager.users.chaos.home.stateVersion = "24.05";
}