remove deprecated style
This commit is contained in:
parent
dee88e841a
commit
a55a5e16ed
1 changed files with 29 additions and 29 deletions
|
@ -5,40 +5,40 @@
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages = pkgs.linuxPackagesFor pkgs.linux_latest_hardened;
|
kernelPackages = pkgs.linuxPackagesFor pkgs.linux_latest_hardened;
|
||||||
|
|
||||||
initrd.luks.devices = [
|
initrd.luks.devices = {
|
||||||
{
|
root = {
|
||||||
name = "root";
|
|
||||||
device = "/dev/disk/by-uuid/a9e8a44f-15be-4844-a0a1-46892cc5e44e";
|
device = "/dev/disk/by-uuid/a9e8a44f-15be-4844-a0a1-46892cc5e44e";
|
||||||
preLVM = true;
|
preLVM = true;
|
||||||
allowDiscards = true;
|
allowDiscards = true;
|
||||||
}];
|
|
||||||
loader.grub = {
|
|
||||||
device = "nodev";
|
|
||||||
efiSupport = true;
|
|
||||||
};
|
};
|
||||||
loader.efi.canTouchEfiVariables = true;
|
|
||||||
};
|
};
|
||||||
|
loader.grub = {
|
||||||
time.hardwareClockInLocalTime = true;
|
device = "nodev";
|
||||||
time.timeZone = "Europe/London";
|
efiSupport = true;
|
||||||
|
|
||||||
hardware.trackpoint.enable = true;
|
|
||||||
services.hardware.bolt.enable = true;
|
|
||||||
services.fprintd = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.fprintd-thinkpad;
|
|
||||||
};
|
};
|
||||||
|
loader.efi.canTouchEfiVariables = true;
|
||||||
|
};
|
||||||
|
|
||||||
hardware.nvidiaOptimus.disable = true;
|
time.hardwareClockInLocalTime = true;
|
||||||
hardware.opengl.extraPackages = [ pkgs.linuxPackages.nvidia_x11.out ];
|
time.timeZone = "Europe/London";
|
||||||
|
|
||||||
imports = [
|
hardware.trackpoint.enable = true;
|
||||||
/etc/nixos/hardware-configuration.nix
|
services.hardware.bolt.enable = true;
|
||||||
../boot.nix
|
services.fprintd = {
|
||||||
../common.nix
|
enable = true;
|
||||||
../gfx-intel.nix
|
package = pkgs.fprintd-thinkpad;
|
||||||
../virtualbox.nix
|
};
|
||||||
../zerotier.nix
|
|
||||||
../i3/system.nix
|
hardware.nvidiaOptimus.disable = true;
|
||||||
];
|
hardware.opengl.extraPackages = [ pkgs.linuxPackages.nvidia_x11.out ];
|
||||||
}
|
|
||||||
|
imports = [
|
||||||
|
/etc/nixos/hardware-configuration.nix
|
||||||
|
../boot.nix
|
||||||
|
../common.nix
|
||||||
|
../gfx-intel.nix
|
||||||
|
../virtualbox.nix
|
||||||
|
../zerotier.nix
|
||||||
|
../i3/system.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue