CJ6YEPDZUZKKC45KY5CRWZ7ZQKP46STSPOPHRAWFR3NAUNWLBTSQC KPD62QBLB3EOPBA33UGIPVE3W45KIKSCOZVH4NFLNHWEY5ZDQRUAC LVZ6RPMIUE6CY4PQGXVRMWBIZHM5RIKOUF5M34QMP7OAXYIWYHTAC MQT74AV47PUYNCX27OMFK6BFN7PP4DX46JAACN2EPRYXUXV7EL3AC RTBMBSBABSGTRICJ4AWBKWO3JJHBRKV6FGOMYPDD7X6SS6X35ZIQC 5UP7XCUKX3WWRV6QSJ45TGTQ5PLT6Y76SKTSKVXUMSZSK3RXQEKQC E5WANV7PYNPZFSJE4AMZABQ76TUNKVZN3M6ZFD5V6CKAFKG444NAC DQKCPBYIW34BPR3BNMCBID7HL3MHGKR47LGBJ6B7VSIKMCOV3EFAC TECVLWPUOQ4D2WKME4ZMRALDA7GV6EI2AKRR3J7Z3UESO4H2J73QC Y6NY2LPV67XLNG26FLTYIMRLNVBJN3HVHXF6NIOB4Q6X43LE3NMAC IWFDDZQDLBZCSPQP3O2AWL5IHHM7KG5KL5JF7QG5AFLXSPLQQUTAC { modulesPath, ... }: {imports = [(modulesPath + "/installer/scan/not-detected.nix")];boot.loader = {systemd-boot.enable = true;efi.canTouchEfiVariables = true;grub.device = "nodev";};# Hardware-specific kernel modulesboot.initrd.availableKernelModules = ["ahci""nvme""xhci_pci""usb_storage""sd_mod"];fileSystems."/" = {device = "/dev/disk/by-label/nixos";fsType = "ext4";};fileSystems."/boot" = {device = "/dev/disk/by-label/BOOT";fsType = "vfat";};}swapDevices = [{device = "/dev/disk/by-label/SWAP";}];options = [ "fmask=0077" "dmask=0077" ];
{config.flake.modules.nixos.hardware-desktop ={ modulesPath, pkgs, ... }:{imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];hardware.bluetooth = {enable = true;powerOnBoot = true;};services.blueman.enable = true;boot.loader = {systemd-boot.enable = true;efi.canTouchEfiVariables = true;grub.device = "nodev";};# Hardware-specific kernel modulesboot.initrd.availableKernelModules = ["ahci""nvme""xhci_pci""usb_storage""sd_mod"];fileSystems."/" = {device = "/dev/disk/by-label/nixos";fsType = "ext4";};fileSystems."/boot" = {device = "/dev/disk/by-label/BOOT";fsType = "vfat";options = ["fmask=0077""dmask=0077"];};swapDevices = [{device = "/dev/disk/by-label/SWAP";}];environment.systemPackages = [pkgs.lshw # Hardware info.pkgs.usbutils # USB device info.pkgs.pciutils # PCI device info.];};# TODOconfig.flake.modules.nixos.hardware-server ={ modulesPath, ... }:{imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];boot.loader = {systemd-boot.enable = true;efi.canTouchEfiVariables = true;grub.device = "nodev";};# Hardware-specific kernel modulesboot.initrd.availableKernelModules = ["ahci""nvme""xhci_pci""usb_storage""sd_mod"];};}
{ lib, ... }: {disko.devices = {disk.disk1 = {device = lib.mkDefault "/dev/sda";type = "disk";content = {type = "gpt";partitions = {boot = {name = "boot";size = "1M";type = "EF02";};esp = {name = "ESP";size = "500M";type = "EF00";content = {type = "filesystem";format = "vfat";mountpoint = "/boot";};};root = {name = "root";size = "100%";content = {type = "lvm_pv";vg = "pool";
letcommonModule = {fileSystems = {"/" = {device = "/dev/disk/by-label/nixos";fsType = "ext4";};"/boot" = {device = "/dev/disk/by-label/BOOT";fsType = "vfat";options = ["fmask=0077""dmask=0077"];};};};in{config.flake.modules.nixos.disks-server ={ lib, ... }:{disko.devices = {disk.disk1 = {device = lib.mkDefault "/dev/sda";type = "disk";content = {type = "gpt";partitions = {boot = {name = "boot";size = "1M";type = "EF02";};esp = {name = "ESP";size = "500M";type = "EF00";content = {type = "filesystem";format = "vfat";mountpoint = "/boot";};};root = {name = "root";size = "100%";content = {type = "lvm_pv";vg = "pool";};};
};};lvm_vg = {pool = {type = "lvm_vg";lvs = {root = {size = "100%FREE";content = {type = "filesystem";format = "ext4";mountpoint = "/";mountOptions = [ "defaults" ];
lvm_vg = {pool = {type = "lvm_vg";lvs = {root = {size = "100%FREE";content = {type = "filesystem";format = "ext4";mountpoint = "/";mountOptions = [ "defaults" ];};};