This commit is contained in:
2022-01-12 17:35:17 +01:00
parent 94234b39c9
commit 364945f5f6
4 changed files with 22 additions and 27 deletions

View File

@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, inputs, ... }:
{
imports = with inputs.nixos-hardware.nixosModules; [
@@ -20,7 +20,8 @@
initrd = {
availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci"
# NOTE: See https://github.com/NixOS/nixos-hardware/blob/master/common/pc/laptop/acpi_call.nix
"acpi_call" ];
#"acpi_call" ];
];
kernelModules = [ "dm-snapshot" ];
luks.devices = {
cryptroot = {
@@ -52,6 +53,7 @@
office.enable = true;
};
services = {
gnome.enable = true;
kanshi = let
horizontal = "Samsung Electric Company C27F398 H4ZR101145";