From 9a174013c37ee335a68e85a1155a17ee6f98184a Mon Sep 17 00:00:00 2001 From: NullBite Date: Thu, 20 Jun 2024 03:37:49 -0400 Subject: [PATCH] pi4: add config --- hosts/rpi4/configuration.nix | 4 ++++ hosts/rpi4/home.nix | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 hosts/rpi4/home.nix diff --git a/hosts/rpi4/configuration.nix b/hosts/rpi4/configuration.nix index b328a21..e011e24 100644 --- a/hosts/rpi4/configuration.nix +++ b/hosts/rpi4/configuration.nix @@ -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. diff --git a/hosts/rpi4/home.nix b/hosts/rpi4/home.nix new file mode 100644 index 0000000..20e4910 --- /dev/null +++ b/hosts/rpi4/home.nix @@ -0,0 +1,6 @@ +{ config, ... }: +{ + config = { + nixfiles.profile.base.enable = true; + }; +}