From c05b52fc64f634b6ffe3e422ee456a3359397fee Mon Sep 17 00:00:00 2001 From: emily Date: Wed, 23 Oct 2024 20:49:48 +0200 Subject: [PATCH] feat: add riscv64-linux image --- flake.nix | 3 ++- nix/installer.nix | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 8392544..2307f40 100644 --- a/flake.nix +++ b/flake.nix @@ -9,10 +9,11 @@ outputs = { self, nixos-unstable, nixos-stable }: let - supportedSystems = [ "aarch64-linux" "x86_64-linux" ]; + supportedSystems = [ "aarch64-linux" "x86_64-linux" "riscv64-linux" ]; forAllSystems = nixos-unstable.lib.genAttrs supportedSystems; in { + hydraJobs = { inherit (self) checks; }; packages = forAllSystems (system: let netboot = nixpkgs: (import (nixpkgs + "/nixos/release.nix") { }).netboot.${system}; diff --git a/nix/installer.nix b/nix/installer.nix index 45908c0..c850f9d 100644 --- a/nix/installer.nix +++ b/nix/installer.nix @@ -6,7 +6,7 @@ }: { imports = [ - ./latest-zfs-kernel.nix +# ./latest-zfs-kernel.nix ./nix-settings.nix ]; # more descriptive hostname than just "nixos" @@ -19,7 +19,7 @@ boot.supportedFilesystems.bcachefs = lib.mkDefault true; # use latest kernel we can support to get more hardware support - boot.zfs.package = pkgs.zfsUnstable; +# boot.zfs.package = pkgs.zfsUnstable; documentation.enable = false; documentation.man.man-db.enable = false;