Cleanup: sif hardware-config

This commit is contained in:
Filippo Berto 2025-10-04 22:13:20 +02:00
parent 4843413986
commit e81d0a21e6
No known key found for this signature in database
GPG key ID: F1D17F9BCEC62FBC

View file

@ -1,16 +1,9 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config
, lib
, modulesPath
, ...
}:
{ config, lib, modulesPath, ... }: {
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot = {
initrd = {
availableKernelModules = [
@ -27,33 +20,31 @@
};
fileSystems = {
"/" =
{ device = "/dev/disk/by-uuid/c3e09b0e-d2bc-4e28-a96e-5de7f4c10539";
"/" = {
device = "/dev/disk/by-uuid/c3e09b0e-d2bc-4e28-a96e-5de7f4c10539";
fsType = "btrfs";
options = [ "subvol=@root" ];
};
"/nix" =
{ device = "/dev/disk/by-uuid/c3e09b0e-d2bc-4e28-a96e-5de7f4c10539";
"/nix" = {
device = "/dev/disk/by-uuid/c3e09b0e-d2bc-4e28-a96e-5de7f4c10539";
fsType = "btrfs";
options = [ "subvol=@nix" ];
};
"/home" =
{ device = "/dev/disk/by-uuid/c3e09b0e-d2bc-4e28-a96e-5de7f4c10539";
"/home" = {
device = "/dev/disk/by-uuid/c3e09b0e-d2bc-4e28-a96e-5de7f4c10539";
fsType = "btrfs";
options = [ "subvol=@home" ];
};
"/boot" =
{ device = "/dev/disk/by-uuid/2E59-DAA6";
"/boot" = {
device = "/dev/disk/by-uuid/2E59-DAA6";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
};
swapDevices = [{ device = "/dev/disk/by-uuid/166f3bcd-7312-4864-9d2f-849da0a8fa79"; }];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking