nix-config/hosts/desktop/default.nix

52 lines
1 KiB
Nix
Raw Normal View History

2023-10-13 20:52:26 +02:00
# NOTE: Dual booted with windows 11. Disable fast-boot in power plan and bios and turn off hibernate to get wifi and bluetooth working. This only works once but on reboot is borked again. So using the old school BLT dongle.
#
{
lib,
pkgs,
vars,
unstable,
...
}: {
imports = [
./hardware-configuration.nix
../../modules/hardware/nvidia.nix
../../modules/services/avahi.nix
];
boot = {
# Boot Options
loader = {
systemd-boot = {
enable = true;
configurationLimit = 3;
};
efi = {
canTouchEfiVariables = true;
};
timeout = 5;
};
kernelPackages = pkgs.linuxPackages_latest;
};
hardware = {
sane = {
# Scanning
enable = true;
extraBackends = [unstable.utsushi];
};
};
services.udev.packages = [unstable.utsushi];
hyprland.enable = true; # Window Manager
environment = {
systemPackages = with pkgs; [
# System-Wide Packages
discord # Messaging
obs-studio # Live Streaming
simple-scan # Scanning
];
};
}