chore: cleanup code
This commit is contained in:
parent
c25eda0f26
commit
2effb840d8
7 changed files with 10 additions and 45 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
imports = [ ./hardware.nix ];
|
||||
|
||||
networking.hostName = "W530"; # Define your hostname.
|
||||
networking.hostName = "W530";
|
||||
|
||||
bchmnn = {
|
||||
|
||||
|
|
|
|||
|
|
@ -10,9 +10,12 @@
|
|||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
boot.kernelParams = [ "resume_offset=9364344" ];
|
||||
boot.resumeDevice = "/dev/disk/by-uuid/2e6bd7f5-74f0-4047-a0ab-5679b877a9fe";
|
||||
boot.initrd.luks.devices."cryptlvm".device = "/dev/disk/by-uuid/d04a2c58-4116-45d6-aa6e-2002556e6d22";
|
||||
|
||||
fileSystems."/" =
|
||||
{
|
||||
|
|
@ -21,8 +24,6 @@
|
|||
options = [ "subvol=@" "compress=zstd" "noatime" ];
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."cryptlvm".device = "/dev/disk/by-uuid/d04a2c58-4116-45d6-aa6e-2002556e6d22";
|
||||
|
||||
fileSystems."/home" =
|
||||
{
|
||||
device = "/dev/disk/by-uuid/2e6bd7f5-74f0-4047-a0ab-5679b877a9fe";
|
||||
|
|
@ -83,7 +84,6 @@
|
|||
}];
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue