31 lines
497 B
Nix
31 lines
497 B
Nix
{ nixpkgs
|
|
, pkgs
|
|
, outputs
|
|
, vars
|
|
, ...
|
|
}:
|
|
{
|
|
imports = [
|
|
#inputs.nixos-hardware.nixosModules.raspberry-pi-4
|
|
outputs.nixosModules.base
|
|
outputs.nixosModules.raspberry-pi
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
networking = {
|
|
inherit (vars) hostName domain;
|
|
};
|
|
security.rtkit.enable = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
libraspberrypi
|
|
raspberrypi-eeprom
|
|
nfs-utils
|
|
];
|
|
|
|
users.users.odie.initialPassword = "odie";
|
|
|
|
programs.zsh.enable = true;
|
|
|
|
}
|