From 2e5167de1560ad0d7b8e294c72e1913f694160c2 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 7 Sep 2023 12:26:31 +0200 Subject: lass: migrate away --- lass/1systems/shodan/config.nix | 28 ------------------------ lass/1systems/shodan/physical.nix | 45 --------------------------------------- 2 files changed, 73 deletions(-) delete mode 100644 lass/1systems/shodan/config.nix delete mode 100644 lass/1systems/shodan/physical.nix (limited to 'lass/1systems/shodan') 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 = [ - - - - - - - - - - - - - - - - ]; - - 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 - - ]; - - 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" - ''; -} -- cgit v1.2.3