mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 19:24:03 -06:00
Update rpi4.nix
This commit is contained in:
parent
620169fad4
commit
423504ec67
1 changed files with 17 additions and 7 deletions
|
@ -1,12 +1,15 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
<nixos-hardware/raspberry-pi/4>
|
||||
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;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue