Launching Zora

This commit is contained in:
Lyes Saadi 2025-10-12 01:12:39 +02:00
parent 6992836cfe
commit 3fa6f2dd4d
Signed by: lyes
GPG key ID: 55A1D803917CF39A
4 changed files with 84 additions and 17 deletions

View file

@ -8,18 +8,50 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usbhid" ];
boot.initrd.availableKernelModules = [ "ahci" "ehci_pci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/05969535-264a-4ab0-b98a-b54da621ffaf";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/3307-11CD";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/acfd9160-01b6-489c-8cc4-13976db3cd62";
fsType = "btrfs";
options = [ "subvol=home" ];
};
fileSystems."/var" =
{ device = "/dev/disk/by-uuid/acfd9160-01b6-489c-8cc4-13976db3cd62";
fsType = "btrfs";
options = [ "subvol=var" ];
};
fileSystems."/root" =
{ device = "/dev/disk/by-uuid/acfd9160-01b6-489c-8cc4-13976db3cd62";
fsType = "btrfs";
options = [ "subvol=root" ];
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true;
# networking.interfaces.ens2f0.useDHCP = lib.mkDefault true;
# networking.interfaces.ens2f1.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}