From ee89fbb07229fcd0505ebad2cd75ecc85918be08 Mon Sep 17 00:00:00 2001 From: Jakob Lechner Date: Wed, 9 Apr 2025 21:38:11 +0200 Subject: [PATCH] Remove t520 --- hosts/default.nix | 3 -- hosts/jalr-t520/configuration.nix | 61 ---------------------- hosts/jalr-t520/hardware-configuration.nix | 61 ---------------------- 3 files changed, 125 deletions(-) delete mode 100644 hosts/jalr-t520/configuration.nix delete mode 100644 hosts/jalr-t520/hardware-configuration.nix diff --git a/hosts/default.nix b/hosts/default.nix index bdb1e83..7f460c8 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -7,9 +7,6 @@ in targetHost = "jalr-k.duckdns.org"; system = "x86_64-linux"; }; - jalr-t520 = { - system = "x86_64-linux"; - }; cadmium = { system = "x86_64-linux"; }; diff --git a/hosts/jalr-t520/configuration.nix b/hosts/jalr-t520/configuration.nix deleted file mode 100644 index 9cd08a5..0000000 --- a/hosts/jalr-t520/configuration.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ config, pkgs, ... }: - -{ - imports = [ - ./hardware-configuration.nix - ../../users/jalr - ]; - - networking = { - hostName = "jalr-t520"; - useDHCP = false; - }; - - # List packages installed in system profile. To search, run: - # $ nix search wget - environment.systemPackages = with pkgs; [ - gnome3.adwaita-icon-theme - ]; - - environment.variables.EDITOR = "nvim"; - - programs.mtr.enable = true; - programs.wireshark.enable = true; - - hardware.sane.enable = true; - - services.udisks2.enable = true; - - services.avahi.enable = true; - services.avahi.nssmdns = true; - - services.udev.extraRules = '' - # 16C0:0442 - Axoloti Core - SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="0442", MODE:="0666" - # 0483:df11 - Axoloti Core (STM32 microcontroller) in DFU mode - SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE:="0666" - - # Samsung A5 - SUBSYSTEM=="usb", ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="6860", GROUP="dialout", MODE="0660" - ''; - - jalr = { - bootloader = "grub2"; - bluetooth.enable = true; - gui.enable = true; - workstation.enable = true; - sdr.enable = true; - libvirt.enable = true; - autologin.enable = true; - autologin.username = "jalr"; - }; - - # This value determines the NixOS release from which the default - # settings for stateful data, like file locations and database versions - # on your system were taken. It‘s perfectly fine and recommended to leave - # this value at the release version of the first install of this system. - # Before changing this value read the documentation for this option - # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "23.11"; # Did you read the comment? - -} diff --git a/hosts/jalr-t520/hardware-configuration.nix b/hosts/jalr-t520/hardware-configuration.nix deleted file mode 100644 index 7de2199..0000000 --- a/hosts/jalr-t520/hardware-configuration.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ lib, pkgs, modulesPath, ... }: - -{ - imports = [ - "${modulesPath}/installer/scan/not-detected.nix" - ]; - - boot = { - initrd = { - availableKernelModules = [ - "aes_generic" - "aesni_intel" - "ahci" - "cryptd" - "ehci_pci" - "firewire_ohci" - "i915" - "sd_mod" - "sdhci_pci" - "usb_storage" - "usbhid" - ]; - kernelModules = [ "dm-snapshot" ]; - luks.devices = { - pvcrypt = { - device = "/dev/disk/by-uuid/3a1a8fec-b028-45c0-8432-7fcbe4615f44"; - preLVM = true; - }; - }; - }; - kernelModules = [ "kvm-intel" ]; - }; - - fileSystems = { - "/" = { - device = "/dev/disk/by-uuid/62e31097-dc6e-4f91-a043-1a6b8a154201"; - fsType = "ext4"; - }; - "/boot" = { - device = "/dev/disk/by-uuid/c4df83d7-8985-47df-b5cd-bf18bd490a50"; - fsType = "ext2"; - options = [ "nodev" "nosuid" "noexec" ]; - }; - }; - - boot.loader.grub.devices = [ "/dev/disk/by-id/ata-INTEL_SSDSC2BB016T4_BTWD531101JM1P6HGN" ]; - - nix.settings.max-jobs = 4; - - hardware.cpu.intel.updateMicrocode = true; - - powerManagement.cpuFreqGovernor = "performance"; - - environment.systemPackages = with pkgs; [ - intel-media-driver - libva - libva-utils - libva1 - ]; - hardware.opengl.extraPackages = lib.singleton pkgs.vaapiIntel; -}