Update rpi4.nix

This commit is contained in:
Aaron Honeycutt 2023-05-12 22:08:48 +00:00
parent 620169fad4
commit 423504ec67

View file

@ -1,12 +1,15 @@
{ config, pkgs, lib, ... }:
{
imports =
[
<nixos-hardware/raspberry-pi/4>
# ./programs.nix
imports = [
# <nixos-hardware/raspberry-pi/4>
./home-assistant.nix
# ./gnome.nix
# ./programs.nix
];
# boot.kernelPackages = pkgs.linuxPackages_latest;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
fileSystems = {
@ -36,7 +39,7 @@
];
# Define user accounts
users.extraUsers.aaronh = {
users.users.aaronh = {
description = "Aaron Honeycutt";
home = "/home/aaronh";
extraGroups = [ "wheel" "networkmanager" "adm"];
@ -62,7 +65,7 @@
# Enable Bluetooth
hardware.bluetooth.enable = true;
# Enable the OpenSSH daemon
# Enable SSH
services.openssh.enable = true;
# Enable CUPS
@ -74,8 +77,15 @@
# Allow Unfree
nixpkgs.config.allowUnfree = true;
services.hydra = {
enable = false;
hydraURL = "http://localhost:3000";
notificationSender = "hydra@localhost";
buildMachinesFiles = [];
useSubstitutes = true;
};
# System
system.stateVersion = "22.11";
system.autoUpgrade.enable = true;
}