From ea8f3efe7c666019af5bf91189e29d918831f107 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Mon, 12 Feb 2024 23:18:39 +0000 Subject: [PATCH 1/3] update Pi4 config --- hosts/aarch64/vetra/configuration.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/hosts/aarch64/vetra/configuration.nix b/hosts/aarch64/vetra/configuration.nix index 3e83893..a02a28f 100644 --- a/hosts/aarch64/vetra/configuration.nix +++ b/hosts/aarch64/vetra/configuration.nix @@ -8,6 +8,19 @@ # ./programs.nix ]; + boot = { + kernelPackages = pkgs.linuxKernel.packages.linux_rpi4; + initrd.availableKernelModules = [ "xhci_pci" "usbhid" "usb_storage" ]; + + loader = { + + grub.enable = false; + + generic-extlinux-compatible.enable = true; + + }; + }; + # boot.kernelPackages = pkgs.linuxPackages_latest; nix.settings.experimental-features = [ "nix-command" "flakes" ]; @@ -86,6 +99,6 @@ }; # System - system.stateVersion = "22.11"; + system.stateVersion = "24.05"; system.autoUpgrade.enable = true; } From 9d3eb1026e1be4cd4c4cee91cde5b1b0cf951853 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Mon, 12 Feb 2024 23:39:46 +0000 Subject: [PATCH 2/3] Update configuration.nix --- hosts/aarch64/vetra/configuration.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/hosts/aarch64/vetra/configuration.nix b/hosts/aarch64/vetra/configuration.nix index a02a28f..1874a63 100644 --- a/hosts/aarch64/vetra/configuration.nix +++ b/hosts/aarch64/vetra/configuration.nix @@ -2,10 +2,7 @@ { imports = [ -# - ./home-assistant.nix # ./gnome.nix -# ./programs.nix ]; boot = { From b37087138fe5a71eb5a91755981709e7385e7069 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Tue, 13 Feb 2024 00:30:57 +0000 Subject: [PATCH 3/3] update: vetra config --- hosts/aarch64/vetra/configuration.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/hosts/aarch64/vetra/configuration.nix b/hosts/aarch64/vetra/configuration.nix index 1874a63..fc8f66b 100644 --- a/hosts/aarch64/vetra/configuration.nix +++ b/hosts/aarch64/vetra/configuration.nix @@ -41,7 +41,6 @@ environment.systemPackages = with pkgs; [ - fish git neofetch restic @@ -54,12 +53,9 @@ home = "/home/aaronh"; extraGroups = [ "wheel" "networkmanager" "adm"]; isNormalUser = true; - shell = pkgs.fish; hashedPassword = "$6$aAcbLtqiqzySifls$jdKMOQjoWITHD/dWNNZVUH/qNc6aoJ7v4zYofi0U7IJSVTbmOfChS3mzaJbp57AodjdPNKPrnrip8Nlh2Qanx."; }; - programs.fish.enable = true; - # Enable Pipewire security.rtkit.enable = true; services.pipewire = { @@ -80,10 +76,7 @@ # Enable CUPS services.printing.enable = true; - - # Enable GPU acceleration - hardware.raspberry-pi."4".fkms-3d.enable = true; - + # Allow Unfree nixpkgs.config.allowUnfree = true;