From fd7a8f1a0818a19c4d40e1a420326ff18ab2c052 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Thu, 7 Sep 2023 16:55:51 +0200 Subject: [PATCH] add fwupd --- hosts/yodaTab/configuration.nix | 1 + hosts/yodaTux/configuration.nix | 1 + modules/fwupd.nix | 13 +++++++++++++ 3 files changed, 15 insertions(+) create mode 100644 modules/fwupd.nix diff --git a/hosts/yodaTab/configuration.nix b/hosts/yodaTab/configuration.nix index c07e6ee..fe16aa1 100644 --- a/hosts/yodaTab/configuration.nix +++ b/hosts/yodaTab/configuration.nix @@ -14,6 +14,7 @@ ./home-manager.nix ../../modules/base.nix ../../modules/programs.nix + ../../modules/fwupd.nix ../../modules/print-and-scan.nix ../../modules/fde-ssh-unlock.nix ../../modules/nextcloud-integration.nix diff --git a/hosts/yodaTux/configuration.nix b/hosts/yodaTux/configuration.nix index e29b32c..94fea5c 100644 --- a/hosts/yodaTux/configuration.nix +++ b/hosts/yodaTux/configuration.nix @@ -14,6 +14,7 @@ ./home-manager.nix ../../modules/base.nix ../../modules/programs.nix + ../../modules/fwupd.nix ../../modules/print-and-scan.nix ../../modules/fde-ssh-unlock.nix ../../modules/nextcloud-integration.nix diff --git a/modules/fwupd.nix b/modules/fwupd.nix new file mode 100644 index 0000000..3ed0736 --- /dev/null +++ b/modules/fwupd.nix @@ -0,0 +1,13 @@ +{ config, pkgs, ... }: + +{ + # Enable firmware update daemon + services.fwupd.enable = true; + + users.users.yoda = { + packages = with pkgs; [ + # Install firmware on devices supported by fwupd. + gnome-firmware + ]; + }; +}