summaryrefslogtreecommitdiffstats
path: root/lass/1systems/shodan
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/shodan
parent6a3a423dad19264c0c42821c7676e85ecc122d21 (diff)
lass: migrate awayriplass
Diffstat (limited to 'lass/1systems/shodan')
-rw-r--r--lass/1systems/shodan/config.nix28
-rw-r--r--lass/1systems/shodan/physical.nix45
2 files changed, 0 insertions, 73 deletions
diff --git a/lass/1systems/shodan/config.nix b/lass/1systems/shodan/config.nix
deleted file mode 100644
index 0bea37e5c..000000000
--- a/lass/1systems/shodan/config.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-{
- imports = [
- <stockholm/lass>
-
- <stockholm/lass/2configs/mouse.nix>
- <stockholm/lass/2configs/retiolum.nix>
- <stockholm/lass/2configs/baseX.nix>
- <stockholm/lass/2configs/pipewire.nix>
- <stockholm/lass/2configs/exim-retiolum.nix>
- <stockholm/lass/2configs/browsers.nix>
- <stockholm/lass/2configs/programs.nix>
- <stockholm/lass/2configs/wine.nix>
- <stockholm/lass/2configs/bitcoin.nix>
- <stockholm/lass/2configs/yellow-mounts/samba.nix>
- <stockholm/lass/2configs/fetchWallpaper.nix>
- <stockholm/lass/2configs/consul.nix>
- <stockholm/lass/2configs/snapclient.nix>
- ];
-
- krebs.build.host = config.krebs.hosts.shodan;
-
- services.logind.lidSwitch = "ignore";
- services.logind.lidSwitchDocked = "ignore";
- nix.trustedUsers = [ "root" "lass" ];
- system.stateVersion = "22.05";
-}
diff --git a/lass/1systems/shodan/physical.nix b/lass/1systems/shodan/physical.nix
deleted file mode 100644
index f94edcf9b..000000000
--- a/lass/1systems/shodan/physical.nix
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- #TODO reinstall with correct layout and use lass/hw/x220
- imports = [
- ./config.nix
- <stockholm/krebs/2configs/hw/x220.nix>
- ];
-
- boot = {
- loader.grub.enable = true;
- loader.grub.version = 2;
- loader.grub.device = "/dev/sda";
-
- initrd.luks.devices.lusksroot.device = "/dev/sda2";
- initrd.availableKernelModules = [ "xhci_hcd" "ehci_pci" "ahci" "usb_storage" ];
- };
- fileSystems = {
- "/" = {
- device = "/dev/pool/nix";
- fsType = "btrfs";
- };
-
- "/boot" = {
- device = "/dev/sda1";
- };
- "/home" = {
- device = "/dev/mapper/pool-home";
- fsType = "btrfs";
- options = ["defaults" "noatime" "ssd" "compress=lzo"];
- };
- "/bku" = {
- device = "/dev/pool/bku";
- fsType = "btrfs";
- };
- "/backups" = {
- device = "/dev/pool/backup";
- fsType = "ext4";
- };
- };
-
- services.udev.extraRules = ''
- SUBSYSTEM=="net", ATTR{address}=="a0:88:b4:29:26:bc", NAME="wl0"
- SUBSYSTEM=="net", ATTR{address}=="f0:de:f1:0c:a7:63", NAME="et0"
- SUBSYSTEM=="net", ATTR{address}=="00:e0:4c:69:ea:71", NAME="int0"
- '';
-}