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