Apply nixfmt

This commit is contained in:
Fabian Hauser 2021-05-03 15:05:10 +02:00
parent 07bd394a43
commit 8f56cf5a99
3 changed files with 20 additions and 27 deletions

View file

@ -182,9 +182,7 @@
}) })
]; ];
home-pc.outputs = [ home-pc.outputs = [
(mkScreen "Dell Inc. DELL P2720DC 22JPK53" // { (mkScreen "Dell Inc. DELL P2720DC 22JPK53" // { position = "0,0"; })
position = "0,0";
})
(mkScreen "Unknown HP Z27 CN482201RP" // { (mkScreen "Unknown HP Z27 CN482201RP" // {
position = "2560,0"; position = "2560,0";
scale = 1.5; scale = 1.5;

View file

@ -7,14 +7,8 @@
<nixos-hardware/common/pc/laptop> <nixos-hardware/common/pc/laptop>
]; ];
boot.initrd.availableKernelModules = [ boot.initrd.availableKernelModules =
"xhci_pci" [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
"ahci"
"nvme"
"usb_storage"
"usbhid"
"sd_mod"
];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
# Ignore Alcor smartcard (gpg is not very smart) # Ignore Alcor smartcard (gpg is not very smart)

View file

@ -1,25 +1,26 @@
{ config, pkgs, lib, ... }: { { config, pkgs, lib, ... }: {
boot.initrd.luks.devices.system.device = "/dev/disk/by-uuid/bf353bb1-43bf-453f-ae7e-0fa9b4d8778c"; boot.initrd.luks.devices.system.device =
"/dev/disk/by-uuid/bf353bb1-43bf-453f-ae7e-0fa9b4d8778c";
boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.initrd.kernelModules = [ "dm-snapshot" ];
fileSystems."/" = fileSystems."/" = {
{ device = "/dev/disk/by-uuid/661ad230-72da-4326-bb3a-4965006475f8"; device = "/dev/disk/by-uuid/661ad230-72da-4326-bb3a-4965006475f8";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=nixos" ]; options = [ "subvol=nixos" ];
}; };
fileSystems."/home" = fileSystems."/home" = {
{ device = "/dev/disk/by-uuid/661ad230-72da-4326-bb3a-4965006475f8"; device = "/dev/disk/by-uuid/661ad230-72da-4326-bb3a-4965006475f8";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=home" ]; options = [ "subvol=home" ];
}; };
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/A5C5-1372"; device = "/dev/disk/by-uuid/A5C5-1372";
fsType = "vfat"; fsType = "vfat";
}; };
swapDevices = []; swapDevices = [ ];
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;