Update hardware config.

This commit is contained in:
2025-09-28 09:51:19 +02:00
parent 6c48caaea8
commit a46850ebfb
2 changed files with 39 additions and 19 deletions

View File

@@ -4,34 +4,54 @@
{ {
config, config,
lib, lib,
pkgs,
modulesPath, modulesPath,
... ...
}: { }:
{
imports = [ imports = [
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = ["nvme" "xhci_pci"]; boot = {
boot.initrd.kernelModules = []; initrd = {
boot.kernelModules = ["kvm-amd"]; availableKernelModules = [
boot.extraModulePackages = []; "nvme"
"xhci_pci"
fileSystems."/" = { "usb_storage"
device = "/dev/disk/by-uuid/a96dc5a2-e2bf-4725-a7be-6b9d2b020fa6"; "sd_mod"
fsType = "ext4"; ];
kernelModules = [ "dm-snapshot" ];
luks.devices.cryptroot = {
device = "/dev/disk/by-uuid/6abc2228-823e-42b0-94c7-48fda757732c";
preLVM = true;
};
};
kernelModules = [ "kvm-amd" ];
extraModulePackages = [ ];
}; };
boot.initrd.luks.devices."luks-9b24a6b5-14e7-4e50-bd1d-c1af7382027c".device = "/dev/disk/by-uuid/9b24a6b5-14e7-4e50-bd1d-c1af7382027c"; fileSystems = {
"/" = {
fileSystems."/boot" = { device = "/dev/disk/by-uuid/d30939d0-53ed-4728-9190-6a5b9dec8fb4";
device = "/dev/disk/by-uuid/3D12-F697"; fsType = "ext4";
};
"/home" = {
device = "/dev/disk/by-uuid/3df34a25-7e42-433d-b723-be80f1738ba5";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-uuid/0E68-9A34";
fsType = "vfat"; fsType = "vfat";
options = ["fmask=0077" "dmask=0077"]; options = [
"fmask=0022"
"dmask=0022"
];
};
}; };
swapDevices = [ swapDevices = [
{device = "/dev/disk/by-uuid/f1c0ee39-01a9-4508-916a-978650d6c514";} { device = "/dev/disk/by-uuid/5da7c845-7dd3-4882-93af-2d679cdb5e7a"; }
]; ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking

View File

@@ -88,8 +88,8 @@
# animations-end4.nix (end-4 project very fluid) # animations-end4.nix (end-4 project very fluid)
# animations-dynamic.nix (ml4w project) # animations-dynamic.nix (ml4w project)
# animations-moving.nix (ml4w project) # animations-moving.nix (ml4w project)
animChoice = ../../modules/home/hyprland/animations-def.nix; # animChoice = ../../modules/home/hyprland/animations-def.nix;
#animChoice = ../../modules/home/hyprland/animations-end4.nix; animChoice = ../../modules/home/hyprland/animations-end4.nix;
#animChoice = ../../modules/home/hyprland/animations-dynamic.nix; #animChoice = ../../modules/home/hyprland/animations-dynamic.nix;
#animChoice = ../../modules/home/hyprland/animations-moving.nix; #animChoice = ../../modules/home/hyprland/animations-moving.nix;