From bd7a5eeb21b22388ff58df88511f897cbb11152c Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Fri, 9 Feb 2024 07:20:24 -0700 Subject: [PATCH] work on getting jaal to install and boot --- home.nix | 1 - hosts/aarch64/jaal/pinebook-pro.nix | 78 +---------------------------- 2 files changed, 1 insertion(+), 78 deletions(-) diff --git a/home.nix b/home.nix index 081d0ee..9ada90a 100644 --- a/home.nix +++ b/home.nix @@ -22,7 +22,6 @@ home.packages = with pkgs; [ # GUI - discord libreoffice-fresh signal-desktop system76-keyboard-configurator diff --git a/hosts/aarch64/jaal/pinebook-pro.nix b/hosts/aarch64/jaal/pinebook-pro.nix index a078a47..62526ca 100644 --- a/hosts/aarch64/jaal/pinebook-pro.nix +++ b/hosts/aarch64/jaal/pinebook-pro.nix @@ -8,7 +8,6 @@ # ./programs.nix ]; - boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelParams = [ "console=tty0" ]; boot.loader = { @@ -25,13 +24,6 @@ }; }; - boot.initrd.luks.devices = { - root = { - device = "/dev/sda"; - preLVM = true; - }; - }; - boot.initrd.kernelModules = [ # Rockchip modules "rockchip_rga" @@ -63,74 +55,6 @@ "rtc_rk808" ]; - nix.settings.auto-optimise-store = true; - nix.settings.experimental-features = [ "nix-command" "flakes" ]; - nix.gc = { - automatic = true; - dates = "weekly"; - options = "--delete-older-than 30d"; - }; - - networking = { - hostName = "jaal"; - networkmanager.enable = true; - }; - - # Set your time zone. - time.timeZone = "America/Denver"; - - environment.systemPackages = - with pkgs; - [ - firefox - git - git-lfs - neofetch - unzip - wget - ]; - - # Define user accounts - users.users.aaronh = { - description = "Aaron Honeycutt"; - home = "/home/aaronh"; - extraGroups = [ "wheel" "networkmanager" "adm"]; - isNormalUser = true; - hashedPassword = "$6$aAcbLtqiqzySifls$jdKMOQjoWITHD/dWNNZVUH/qNc6aoJ7v4zYofi0U7IJSVTbmOfChS3mzaJbp57AodjdPNKPrnrip8Nlh2Qanx."; - - packages = with pkgs; [ - fish - ]; - - shell = pkgs.fish; - }; - - # 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 the OpenSSH daemon - services.openssh.enable = true; - - # Enable CUPS - services.printing.enable = true; - - # Allow Unfree - nixpkgs.config.allowUnfree = true; - - # System - system.stateVersion = "23.11"; - system.autoUpgrade.enable = true; + networking.hostName = "jaal"; }