nix-configs/hosts/aarch64/vetra/configuration.nix
Aaron Honeycutt f7b7ce41ce clean up
2025-05-08 20:27:48 -06:00

82 lines
1.7 KiB
Nix

{ config, pkgs, lib, inputs, ... }:
{
imports = [
# ./gnome.nix
];
boot = {
kernelPackages = pkgs.linuxKernel.packages.linux_rpi4;
initrd.availableKernelModules = [ "xhci_pci" "usbhid" "usb_storage" ];
loader = {
grub.enable = false;
generic-extlinux-compatible.enable = true;
};
};
nix.settings.experimental-features = [ "nix-command" "flakes" ];
fileSystems = {
"/" = {
device = "/dev/disk/by-label/NIXOS_SD";
fsType = "ext4";
options = [ "noatime" ];
};
};
networking = {
hostName = "vetra";
networkmanager.enable = true;
};
# Set your time zone.
time.timeZone = "America/Denver";
environment.systemPackages =
with pkgs;
[
git
restic
wget
inputs.nixpkgs-ahoneybun.packages.${system}.honeyfetch
];
# Define user accounts
users.users.aaronh = {
description = "Aaron Honeycutt";
home = "/home/aaronh";
extraGroups = [ "wheel" "networkmanager" "adm"];
isNormalUser = true;
hashedPassword = "$6$aAcbLtqiqzySifls$jdKMOQjoWITHD/dWNNZVUH/qNc6aoJ7v4zYofi0U7IJSVTbmOfChS3mzaJbp57AodjdPNKPrnrip8Nlh2Qanx.";
};
# Enable Pipewire
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
# Turn off PulseAudio
hardware.pulseaudio.enable = false;
# Enable Bluetooth
hardware.bluetooth.enable = true;
# Enable SSH
services.openssh.enable = true;
# Enable Tailscale
services.tailscale.enable = true;
# Allow Unfree
nixpkgs.config.allowUnfree = true;
# System
system.stateVersion = "24.11";
system.autoUpgrade.enable = true;
}