summaryrefslogtreecommitdiffstats
path: root/lass/1systems/lasspi
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-09-07 12:26:31 +0200
committerlassulus <git@lassul.us>2023-09-07 12:40:43 +0200
commit2e5167de1560ad0d7b8e294c72e1913f694160c2 (patch)
treeb618daa9f125650e9276bae7848f854c48d6c95e /lass/1systems/lasspi
parent6a3a423dad19264c0c42821c7676e85ecc122d21 (diff)
lass: migrate awayriplass
Diffstat (limited to 'lass/1systems/lasspi')
-rw-r--r--lass/1systems/lasspi/config.nix25
-rw-r--r--lass/1systems/lasspi/physical.nix45
2 files changed, 0 insertions, 70 deletions
diff --git a/lass/1systems/lasspi/config.nix b/lass/1systems/lasspi/config.nix
deleted file mode 100644
index d2207627d..000000000
--- a/lass/1systems/lasspi/config.nix
+++ /dev/null
@@ -1,25 +0,0 @@
-{ config, lib, pkgs, ... }:
-let
-in
-{
- imports = [
- <stockholm/lass>
- <stockholm/lass/2configs>
- <stockholm/lass/2configs/retiolum.nix>
- ];
-
- krebs.build.host = config.krebs.hosts.lasspi;
-
- networking = {
- networkmanager = {
- enable = true;
- };
- };
- environment.systemPackages = with pkgs; [
- vim
- rxvt-unicode-unwrapped.terminfo
- ];
- services.openssh.enable = true;
-
- system.stateVersion = "22.05";
-}
diff --git a/lass/1systems/lasspi/physical.nix b/lass/1systems/lasspi/physical.nix
deleted file mode 100644
index 07efb5ca5..000000000
--- a/lass/1systems/lasspi/physical.nix
+++ /dev/null
@@ -1,45 +0,0 @@
-{ config, lib, pkgs, modulesPath, ... }:
-{
- imports = [
- (modulesPath + "/installer/scan/not-detected.nix")
- ./config.nix
- ];
-
- boot = {
- # kernelPackages = pkgs.linuxPackages_rpi4;
- tmpOnTmpfs = true;
- initrd.availableKernelModules = [ "usbhid" "usb_storage" "xhci_pci" ];
- # ttyAMA0 is the serial console broken out to the GPIO
- kernelParams = [
- "8250.nr_uarts=1"
- "console=ttyAMA0,115200"
- "console=tty1"
- # Some gui programs need this
- "cma=128M"
- ];
- };
-
- # boot.loader.raspberryPi = {
- # enable = true;
- # version = 4;
- # # uboot.enable = true;
- # };
- boot.loader.grub.enable = false;
- boot.loader.generic-extlinux-compatible.enable = true;
-
- # Required for the Wireless firmware
- hardware.enableRedistributableFirmware = true;
-
- networking.interfaces.eth0.useDHCP = true;
-
- # Assuming this is installed on top of the disk image.
- fileSystems = {
- "/" = {
- device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
- fsType = "ext4";
- options = [ "noatime" ];
- };
- };
-
- powerManagement.cpuFreqGovernor = "ondemand";
-}