about summary refs log tree commit diff
path: root/sys/x220.nix
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-10-01 12:04:00 +0000
committerAlyssa Ross <hi@alyssa.is>2023-10-01 12:04:00 +0000
commit9562435aa4e8d74169a497e0c3a815926f4bd20b (patch)
tree21275e51f83ec9ed9746e22356c1e75af42a368d /sys/x220.nix
parentc82bf0ecf7dc5c617ad09ef9e20dfcba1e37e9cc (diff)
downloadnixlib-9562435aa4e8d74169a497e0c3a815926f4bd20b.tar
nixlib-9562435aa4e8d74169a497e0c3a815926f4bd20b.tar.gz
nixlib-9562435aa4e8d74169a497e0c3a815926f4bd20b.tar.bz2
nixlib-9562435aa4e8d74169a497e0c3a815926f4bd20b.tar.lz
nixlib-9562435aa4e8d74169a497e0c3a815926f4bd20b.tar.xz
nixlib-9562435aa4e8d74169a497e0c3a815926f4bd20b.tar.zst
nixlib-9562435aa4e8d74169a497e0c3a815926f4bd20b.zip
sys: remove obsolete systems
RIP.
Diffstat (limited to 'sys/x220.nix')
-rw-r--r--sys/x220.nix84
1 files changed, 0 insertions, 84 deletions
diff --git a/sys/x220.nix b/sys/x220.nix
deleted file mode 100644
index cc079dae5ca9..000000000000
--- a/sys/x220.nix
+++ /dev/null
@@ -1,84 +0,0 @@
-{ pkgs, ... }:
-
-{
-  imports = [
-    ../modules/nixos-hardware/lenovo/thinkpad/x220
-    ../modules/persistence
-    ../modules/workstation/audio
-    ../modules/workstation/hardware/bluetooth
-    ../modules/workstation/physical
-  ];
-
-  hardware.enableRedistributableFirmware = true;
-
-  boot.initrd.availableKernelModules =
-    [ "ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci" "i915" ];
-
-  boot.kernelModules = [ "kvm-intel" ];
-
-  boot.loader.grub.enable = true;
-  boot.loader.grub.device = "nodev";
-
-  boot.swraid.enable = false;
-
-  boot.initrd.postDeviceCommands = ''
-    mkdir /mnt
-    mount /dev/mapper/root /mnt
-    btrfs subvolume delete /mnt/boot
-    btrfs subvolume create /mnt/boot
-    umount /mnt
-  '';
-
-  boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/c28ed0c0-4fa9-4d8a-a771-5fddac61adda";
-
-  fileSystems."/" = {
-    device = "/dev/disk/by-uuid/c068093d-512b-43d3-a4c3-cab52a190bfd";
-    fsType = "btrfs";
-    options = [ "subvol=boot" ];
-  };
-
-  fileSystems."/home" = {
-    device = "/dev/disk/by-uuid/c068093d-512b-43d3-a4c3-cab52a190bfd";
-    fsType = "btrfs";
-    options = [ "subvol=persist/safe/home" ];
-  };
-
-  fileSystems."/nix" = {
-    device = "/dev/disk/by-uuid/c068093d-512b-43d3-a4c3-cab52a190bfd";
-    fsType = "btrfs";
-    options = [ "subvol=persist/local/nix" ];
-  };
-
-  fileSystems."/boot" = {
-    device = "/dev/disk/by-uuid/6F69-3310";
-    fsType = "vfat";
-  };
-
-  fileSystems."/persist" = {
-    device = "/dev/disk/by-uuid/c068093d-512b-43d3-a4c3-cab52a190bfd";
-    fsType = "btrfs";
-    options = [ "subvol=persist" ];
-    neededForBoot = true;
-  };
-
-  fileSystems."/srv" = {
-    device = "/dev/disk/by-uuid/c068093d-512b-43d3-a4c3-cab52a190bfd";
-    fsType = "btrfs";
-    options = [ "subvol=persist/safe/srv" ];
-  };
-
-  fileSystems."/var/lib/machines" = {
-    device = "/dev/disk/by-uuid/c068093d-512b-43d3-a4c3-cab52a190bfd";
-    fsType = "btrfs";
-    options = [ "subvol=persist/safe/var/lib/machines" ];
-  };
-
-  networking.hostName = "x220";
-
-  system.stateVersion = "22.05";
-
-  users.users.qyliss.hashedPassword = "$y$j9T$Q5bSnSDsY.PkqBX9AA3Gp0$cMl0jK1Cug/7vu8n4ShmQouZTbyPMkUO3NMBVpWn353";
-
-  hardware.opengl.enable = true;
-  hardware.opengl.extraPackages = with pkgs; [ libGL ];
-}