nix-config/hosts/desktop/default.nix

73 lines
1.6 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-14 18:53:32 +02:00
../../modules/programs/games.nix
../../modules/services/easyeffects.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 = unstable.linuxPackages_latest;
2023-10-13 20:52:26 +02:00
};
hardware = {
sane = {
# Scanning
enable = true;
extraBackends = [unstable.utsushi];
};
};
services.udev.packages = [unstable.utsushi];
2023-10-15 16:02:50 +02:00
# hyprland.enable = true;
2023-10-14 13:22:41 +02:00
kde.enable = true;
2023-10-15 16:02:50 +02:00
awesome.enable = true;
2023-11-04 14:51:06 +01:00
# home-manager.users.${vars.user} = {
# services.kdeconnect.enable = true;
# };
nixpkgs.config.librewolf.enablePlasmaBrowserIntegration = true;
programs.kdeconnect.enable = true;
2023-10-13 20:52:26 +02:00
environment = {
2023-11-04 14:51:06 +01:00
systemPackages = with pkgs;
[
# System-Wide Packages
discord # Messaging
obs-studio # Live Streaming
simple-scan # Scanning
firefox
heroic
nextcloud-client
anki
easyeffects
qpwgraph
calibre
]
++ (with unstable; [
libsForQt5.kdeconnect-kde
]);
2023-10-13 20:52:26 +02:00
};
}