pi4: add config
This commit is contained in:
parent
c861a8f473
commit
9a174013c3
hosts/rpi4
@ -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
6
hosts/rpi4/home.nix
Normal file
@ -0,0 +1,6 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
config = {
|
||||
nixfiles.profile.base.enable = true;
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user