Add odin intel config

This commit is contained in:
Filippo Berto 2022-04-13 19:36:16 +02:00
parent becab7b6f3
commit 150ce70fbe
7 changed files with 572 additions and 0 deletions

View file

@ -0,0 +1,87 @@
# 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, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/c6e3d4df-4861-48a5-8107-d6fd1addad8c";
fsType = "btrfs";
options = [ "subvol=@root" "x-gvfs-hide" ];
};
fileSystems."/nix" =
{ device = "/dev/disk/by-uuid/c6e3d4df-4861-48a5-8107-d6fd1addad8c";
fsType = "btrfs";
options = [ "subvol=@nix" "x-gvfs-hide" ];
};
fileSystems."/home/bertof" =
{ device = "/dev/disk/by-uuid/c6e3d4df-4861-48a5-8107-d6fd1addad8c";
fsType = "btrfs";
options = [ "subvol=@bertof" "x-gvfs-hide" ];
};
fileSystems."/home/bertof/Giochi/SSD" =
{ device = "/dev/disk/by-uuid/c6e3d4df-4861-48a5-8107-d6fd1addad8c";
fsType = "btrfs";
options = [ "subvol=@bertof_games" "x-gvfs-hide" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/82DB-3444";
fsType = "vfat";
};
fileSystems."/home/bertof/Musica" =
{ device = "/dev/disk/by-uuid/c6e3d4df-4861-48a5-8107-d6fd1addad8c";
fsType = "btrfs";
options = [ "subvol=@bertof_music" "x-gvfs-hide" ];
};
fileSystems."/home/bertof/Video" =
{ device = "/dev/disk/by-uuid/c6e3d4df-4861-48a5-8107-d6fd1addad8c";
fsType = "btrfs";
options = [ "subvol=@bertof_videos" "x-gvfs-hide" ];
};
fileSystems."/home/bertof/Immagini" =
{ device = "/dev/disk/by-uuid/c6e3d4df-4861-48a5-8107-d6fd1addad8c";
fsType = "btrfs";
options = [ "subvol=@bertof_images" "x-gvfs-hide" ];
};
fileSystems."/home/bertof/Scaricati" =
{ device = "/dev/disk/by-uuid/c6e3d4df-4861-48a5-8107-d6fd1addad8c";
fsType = "btrfs";
options = [ "subvol=@bertof_downloads" "x-gvfs-hide" ];
};
fileSystems."/home/bertof/Documenti" =
{ device = "/dev/disk/by-uuid/c6e3d4df-4861-48a5-8107-d6fd1addad8c";
fsType = "btrfs";
options = [ "subvol=@bertof_documents" "x-gvfs-hide" ];
};
fileSystems."/home/bertof/Documenti/Git" =
{ device = "/dev/disk/by-uuid/c6e3d4df-4861-48a5-8107-d6fd1addad8c";
fsType = "btrfs";
options = [ "subvol=@bertof_git" "x-gvfs-hide" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/5f3cf424-2bd8-4352-a778-1bb067cb5700"; }
];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}