44 lines
767 B
Nix
44 lines
767 B
Nix
|
{
|
||
|
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";
|
||
|
}
|