summaryrefslogtreecommitdiffstats
path: root/1systems/flake-x/x230
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2023-06-09 14:58:43 +0200
committermakefu <github@syntax-fehler.de>2023-06-09 14:58:43 +0200
commitd92cd0eb9416d634ce3202e4053869b0865c6de6 (patch)
treef56cd584ca6d0afe1d86d0597c7a82675ed9f219 /1systems/flake-x/x230
parentb49d095fd7a095e1d489c7eb3d8b63e0ef28b02d (diff)
init flake-x
Diffstat (limited to '1systems/flake-x/x230')
-rw-r--r--1systems/flake-x/x230/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/1systems/flake-x/x230/default.nix b/1systems/flake-x/x230/default.nix
new file mode 100644
index 000000000..c2a635ca7
--- /dev/null
+++ b/1systems/flake-x/x230/default.nix
@@ -0,0 +1,19 @@
+{
+ imports = [
+ <stockholm/makefu/2configs/hw/tp-x230.nix> # + bluetooth
+ <stockholm/makefu/2configs/fs/sda-crypto-root-home.nix>
+
+ <stockholm/makefu/2configs/hw/tpm.nix>
+ <stockholm/makefu/2configs/hw/ssd.nix>
+
+ # hard dependency because otherwise the device will not be unlocked
+ {
+ boot.initrd.luks.devices.luksroot =
+ {
+ device = "/dev/sda2";
+ allowDiscards = true;
+ };
+ }
+ { makefu.server.primary-itf = "wlp3s0"; }
+ ];
+}