From 4f87f3d17a146e18eae880740e65f7ab5a542ca8 Mon Sep 17 00:00:00 2001 From: Haak Saxberg Date: Fri, 15 Sep 2023 22:13:33 -0700 Subject: [PATCH] add framework hardware configuration from community (pinned) --- nix/system/framework/configuration.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/nix/system/framework/configuration.nix b/nix/system/framework/configuration.nix index f943d6e..a9d1445 100644 --- a/nix/system/framework/configuration.nix +++ b/nix/system/framework/configuration.nix @@ -7,6 +7,11 @@ { imports = [ + "${builtins.fetchGit { + url = "https://github.com/NixOS/nixos-hardware.git"; + ref = "master"; + rev = "88348cb5c1e6bdad2f9879663dd9c12ef281a3be"; + }}/framework" # Include the results of the hardware scan. ./hardware-configuration.nix ../common/users.nix @@ -15,6 +20,8 @@ # enable nix-flakes nix.settings.experimental-features = [ "nix-command" "flakes" ]; + services.fwupd.enable = true; + # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; # do not fill the bootloader space with generations until it pops; only keep @@ -100,8 +107,6 @@ # List services that you want to enable: services.dbus.packages = with pkgs; [ dconf ]; - # Enable fingerprint reading---except it doesn't seem to work. - # services.fprintd.enable = true; # Enable the OpenSSH daemon. # services.openssh.enable = true;