pi4: add config

This commit is contained in:
NullBite 2024-06-20 03:37:49 -04:00
parent c861a8f473
commit 9a174013c3
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A
2 changed files with 10 additions and 0 deletions

View File

@ -15,12 +15,16 @@
# Enables the generation of /boot/extlinux/extlinux.conf
boot.loader.generic-extlinux-compatible.enable = true;
nixfiles = {
profile.base.enable = true;
};
services.openssh = {
enable = true;
openFirewall = true;
};
# networking.hostName = "nixos"; # Define your hostname.
networking.hostname = "rpi4";
# Pick only one of the below networking options.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.

6
hosts/rpi4/home.nix Normal file
View File

@ -0,0 +1,6 @@
{ config, ... }:
{
config = {
nixfiles.profile.base.enable = true;
};
}