summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-23 04:14:26 +0000
committertv <tv@krebsco.de>2026-11-23 04:14:26 +0000
commitcd227564f79ca4e96847e6ae4953a44625731e20 (patch)
tree6f25ffb065cbae62a1c5a0973d1e234a73f83bab
parentee8a38a6a138b8ca20f2897d07b9cce14326254c (diff)
dule: init
-rw-r--r--systems/dule/config.nix36
-rw-r--r--systems/dule/spec.nix3
2 files changed, 39 insertions, 0 deletions
diff --git a/systems/dule/config.nix b/systems/dule/config.nix
new file mode 100644
index 00000000..5ded2685
--- /dev/null
+++ b/systems/dule/config.nix
@@ -0,0 +1,36 @@
+{ config, pkgs, ... }: {
+ imports = [
+ ../../configs/hw/tiny5.nix
+ ../../configs/initrd/sshd.nix
+ ];
+
+ boot.kernelPackages = pkgs.linuxPackages_latest;
+
+ boot.initrd.luks.devices.main.device = "/dev/sda2";
+ boot.loader.efi.canTouchEfiVariables = true;
+ boot.loader.systemd-boot.enable = true;
+
+ fileSystems."/" = {
+ device = "/dev/mapper/wuvga-root";
+ fsType = "ext4";
+ options = ["defaults" "noatime"];
+ };
+ fileSystems."/boot" = {
+ device = "/dev/sda1";
+ fsType = "vfat";
+ };
+ fileSystems."/home" = {
+ device = "/dev/mapper/wuvga-home";
+ fsType = "ext4";
+ options = ["defaults" "noatime"];
+ };
+ fileSystems."/bku" = {
+ device = "/dev/mapper/wuvga-bku";
+ fsType = "ext4";
+ options = ["defaults" "noatime"];
+ };
+
+ krebs.build.host = config.krebs.hosts.dule;
+
+ system.stateVersion = "23.05";
+}
diff --git a/systems/dule/spec.nix b/systems/dule/spec.nix
new file mode 100644
index 00000000..efab0596
--- /dev/null
+++ b/systems/dule/spec.nix
@@ -0,0 +1,3 @@
+{
+ system = "x86_64-linux";
+}