Remove t520

This commit is contained in:
Jakob Lechner 2025-04-09 21:38:11 +02:00
parent 1cb1cbbd6e
commit ee89fbb072
3 changed files with 0 additions and 125 deletions

View file

@ -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";
};

View file

@ -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. Its 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?
}

View file

@ -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;
}