about summary refs log tree commit diff
path: root/hosts/common
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-13 11:00:40 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-13 11:03:13 -0800
commit2e8aebc44a2e302028e5d26d75a608a3449074d6 (patch)
tree8e5810c846d217c1a2018e43b9da27d9b9ede71a /hosts/common
parentdesktop: gnome related things (diff)
downloadworld-2e8aebc44a2e302028e5d26d75a608a3449074d6.tar.gz
hosts: decrypt root disk via ssh on boot
Diffstat (limited to '')
-rw-r--r--hosts/common/system/default.nix1
-rw-r--r--hosts/common/system/hardware.nix5
2 files changed, 6 insertions, 0 deletions
diff --git a/hosts/common/system/default.nix b/hosts/common/system/default.nix
index 64cb51b..8e7def5 100644
--- a/hosts/common/system/default.nix
+++ b/hosts/common/system/default.nix
@@ -3,6 +3,7 @@
 {
   imports = [
     ./boot.nix
+    ./hardware.nix
     ./motd.nix
     ./network.nix
     ./nix.nix
diff --git a/hosts/common/system/hardware.nix b/hosts/common/system/hardware.nix
new file mode 100644
index 0000000..030b358
--- /dev/null
+++ b/hosts/common/system/hardware.nix
@@ -0,0 +1,5 @@
+{ pkgs, lib, config, ... }:
+
+{
+  services.fwupd.enable = true;
+}