From e52ac8dd088249f06a85d579cc4adf8a6c9a458c Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 23 Nov 2026 16:44:53 +0000 Subject: zoppo: init --- systems/zoppo/config.nix | 46 ++++++++++++++++++++++++++++++++++++++++++++++ systems/zoppo/spec.nix | 3 +++ 2 files changed, 49 insertions(+) create mode 100644 systems/zoppo/config.nix create mode 100644 systems/zoppo/spec.nix diff --git a/systems/zoppo/config.nix b/systems/zoppo/config.nix new file mode 100644 index 00000000..66e449da --- /dev/null +++ b/systems/zoppo/config.nix @@ -0,0 +1,46 @@ +{ config, pkgs, ... }: { + imports = [ + ../../configs/hw/tiny5.nix + ../../configs/bluetooth.nix + + ../../configs/initrd/sshd.nix + ../../configs/retiolum.nix + ../../configs/wiregrill.nix + + ../../configs/earlyoom.nix + ../../configs/networkd.nix + ]; + + boot.kernelPackages = pkgs.linuxPackages_latest; + + boot.initrd.luks.devices.main.device = "/dev/nvme0n1p2"; + boot.loader.efi.canTouchEfiVariables = true; + boot.loader.systemd-boot.enable = true; + + fileSystems."/" = { + device = "/dev/mapper/zoppovg0-root"; + fsType = "btrfs"; + options = ["defaults" "noatime" "compress=zstd"]; + }; + fileSystems."/boot" = { + device = "/dev/nvme0n1p1"; + fsType = "vfat"; + }; + fileSystems."/home" = { + device = "/dev/mapper/zoppovg0-home"; + fsType = "btrfs"; + options = ["defaults" "noatime" "compress=zstd"]; + }; + fileSystems."/bku" = { + device = "/dev/mapper/zoppovg0-bku"; + fsType = "btrfs"; + options = ["defaults" "noatime" "compress=zstd"]; + }; + + krebs.build.host = config.krebs.hosts.zoppo; + + system.stateVersion = "23.05"; + + zramSwap.enable = true; + zramSwap.swapDevices = 1; +} diff --git a/systems/zoppo/spec.nix b/systems/zoppo/spec.nix new file mode 100644 index 00000000..efab0596 --- /dev/null +++ b/systems/zoppo/spec.nix @@ -0,0 +1,3 @@ +{ + system = "x86_64-linux"; +} -- cgit v1.3.1