nix-config/hosts/desktop/default.nix

57 lines
1.2 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
2023-10-14 13:24:01 +02:00
../../modules/virtualization/docker.nix
../../modules/virtualization/qemu.nix
2023-10-13 20:52:26 +02:00
];
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
2023-10-14 13:22:41 +02:00
kde.enable = true;
2023-10-13 20:52:26 +02:00
environment = {
systemPackages = with pkgs; [
# System-Wide Packages
discord # Messaging
obs-studio # Live Streaming
simple-scan # Scanning
2023-10-14 13:24:20 +02:00
easyeffects
firefox
2023-10-13 20:52:26 +02:00
];
};
}