nix-config/hosts/patricknix/default.nix

57 lines
1.3 KiB
Nix
Raw Normal View History

{
inputs,
lib,
...
}: {
2023-01-21 17:30:50 +01:00
imports = [
2023-08-26 14:01:58 +02:00
inputs.nixos-hardware.nixosModules.common-cpu-intel
inputs.nixos-hardware.nixosModules.common-gpu-intel
inputs.nixos-hardware.nixosModules.common-pc-laptop
inputs.nixos-hardware.nixosModules.common-pc-laptop-ssd
../../modules/config
../../modules/dev
2023-09-23 20:40:20 +02:00
../../modules/graphical
../../modules/optional/wayland.nix
2023-09-25 23:39:10 +02:00
../../modules/optional/secureboot.nix
2023-10-04 14:43:06 +02:00
../../modules/optional/printing.nix
../../modules/hardware/bluetooth.nix
../../modules/hardware/laptop.nix
../../modules/hardware/intel.nix
../../modules/hardware/nvidia.nix
../../modules/hardware/physical.nix
../../modules/hardware/pipewire.nix
../../modules/hardware/yubikey.nix
../../modules/hardware/zfs.nix
2023-01-21 17:30:50 +01:00
../../modules/hardware/prime-offload.nix
2023-10-06 22:01:50 +02:00
../../modules/optional/steam.nix
./net.nix
./fs.nix
./wireguard.nix
2023-05-18 11:47:55 +02:00
../../users/patrick
];
2023-09-23 20:40:20 +02:00
stylix.fonts.sizes = {
terminal = 9;
applications = 9;
desktop = 8;
};
2023-09-30 18:08:54 +02:00
hidpi = true;
2023-10-06 22:01:50 +02:00
services.xserver = {
layout = "de";
xkbVariant = "bone";
libinput = {
touchpad = lib.mkForce {
accelSpeed = "0.5";
};
};
2023-10-06 22:01:50 +02:00
};
system.activationScripts.decryptKey.text = ''
2023-11-07 21:16:39 +01:00
ln -f -s ${../../keys/PatC.key} /run/decrypt.key.pub
'';
2023-01-21 17:30:50 +01:00
}