System/desktop.nix

41 lines
980 B
Nix
Raw Normal View History

2022-01-26 16:53:39 -05:00
{ pkgs, lib, unstable, ... }: {
2021-12-23 00:45:21 -05:00
## Boot, drivers, and host name
# Use grub
boot.loader = {
grub = {
enable = true;
version = 2;
efiSupport = true;
# Go efi only
device = "nodev";
# Use os-prober
useOSProber = true;
};
efi = {
efiSysMountPoint = "/boot/";
canTouchEfiVariables = true;
};
};
# Enable AMD gpu drivers early
boot.initrd.kernelModules = [ "amdgpu" ];
2022-01-10 02:27:04 -05:00
# Use the zen kernel with muqss turned on
boot.kernelPackages =
let
linuxZenWMuQSS = pkgs.linuxPackagesFor (pkgs.linuxPackages_zen.kernel.override {
structuredExtraConfig = with lib.kernel; {
SCHED_MUQSS = yes;
};
ignoreConfigErrors = true;
}
);
in
linuxZenWMuQSS;
2021-12-23 00:45:21 -05:00
## Left over uncategorized packages
environment.systemPackages = with pkgs; [
2022-01-26 17:10:25 -05:00
unstable.firefox-beta-bin
2022-03-28 15:14:56 -04:00
wally-cli
2021-12-23 00:45:21 -05:00
];
2022-03-28 15:14:56 -04:00
# Enable ergodox udev rules
hardware.keyboard.zsa.enable = true;
2021-12-23 00:45:21 -05:00
}