reorg fwupd

This commit is contained in:
shelvacu
2024-09-13 16:32:58 -07:00
parent 74180f9a41
commit c7921cb8ed
3 changed files with 10 additions and 5 deletions

View File

@@ -222,6 +222,7 @@
nixosModules.common = import ./common/module.nix;
packages.x86_64-linux.sm64coopdx = pkgs.callPackage ./coopdx.nix { inherit nixpkgs; };
packages.aarch64-linux.sm64coopdx = aarchpkgs.callPackage ./coopdx.nix { inherit nixpkgs; };
packages.x86_64-linux.snmpb = pkgs.libsForQt5.callPackage ./packages/snmpb/package.nix { };
packages.x86_64-linux.snmp-mibs-downloader =
pkgs.callPackage ./packages/snmp-mibs-downloader.nix
@@ -268,6 +269,7 @@
nod-bootstrap-aarch64 = inputs.nix-on-droid.packages.x86_64-linux.bootstrapZip-aarch64;
inherit (self.packages.x86_64-linux) authorizedKeys sm64coopdx;
sm64coopdxarch = self.packages.aarch64-linux.sm64coopdx;
authorizedKeysAarch = self.packages.aarch64-linux.authorizedKeys;
ak = authorizedKeys;

View File

@@ -12,6 +12,7 @@
./apex.nix
./android.nix
./thunderbolt.nix
./fwupd.nix
];
vacu.hostName = "fw"; # Define your hostname.
@@ -59,11 +60,6 @@
# presumably needed by nheko
nixpkgs.config.permittedInsecurePackages = [ "olm-3.2.16" ];
services.fwupd.enable = true;
#fwupd gets confused by the multiple EFI partitions, I think I just have to pick one
#update: it didn't work, I dunno why. Leaving this here anyways
services.fwupd.daemonSettings.EspLocation = lib.mkForce "/boot0";
networking.firewall.enable = false;
services.xserver.enable = true;

7
fw/fwupd.nix Normal file
View File

@@ -0,0 +1,7 @@
{ config, lib, ... }: {
vacu.packages = [ config.services.fwupd.package ];
services.fwupd.enable = true;
#fwupd gets confused by the multiple EFI partitions, I think I just have to pick one
#update: it didn't work, I dunno why. Leaving this here anyways
services.fwupd.daemonSettings.EspLocation = lib.mkForce "/boot0";
}