diff options
| author | tv <tv@krebsco.de> | 2026-11-23 16:44:53 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-23 16:44:53 +0000 |
| commit | e52ac8dd088249f06a85d579cc4adf8a6c9a458c (patch) | |
| tree | 0270e86d3b6782f2df76d089a3744e5a86c39610 /systems/zoppo | |
| parent | c8a9040825e3670417d5f6518b7d8cbfa6c9908b (diff) | |
zoppo: init
Diffstat (limited to 'systems/zoppo')
| -rw-r--r-- | systems/zoppo/config.nix | 46 | ||||
| -rw-r--r-- | systems/zoppo/spec.nix | 3 |
2 files changed, 49 insertions, 0 deletions
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"; +} |
