Thinkstation: cleaner config

This commit is contained in:
Filippo Berto 2025-05-15 11:41:10 +02:00
parent d8476d6101
commit a4b34b516d
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED

View file

@ -1,28 +1,31 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }: { config, lib, modulesPath, ... }:
{ {
imports = imports = [
[ (modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/installer/scan/not-detected.nix") ];
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "thunderbolt" "usbhid" "usb_storage" "sd_mod" ]; boot = {
boot.initrd.kernelModules = [ ]; initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "thunderbolt" "usbhid" "usb_storage" "sd_mod" ];
boot.kernelModules = [ "kvm-intel" ]; initrd.kernelModules = [ ];
boot.extraModulePackages = [ ]; kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/01bf7273-414e-48a4-ae24-ca0c5b27debd";
fsType = "btrfs";
}; };
fileSystems."/boot" = { fileSystems = {
device = "/dev/disk/by-uuid/DA9C-3241"; "/" = {
fsType = "vfat"; device = "/dev/disk/by-uuid/01bf7273-414e-48a4-ae24-ca0c5b27debd";
options = [ "fmask=0022" "dmask=0022" ]; fsType = "btrfs";
};
"/boot" = {
device = "/dev/disk/by-uuid/DA9C-3241";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
}; };
swapDevices = [ ]; swapDevices = [ ];