2023-04-23 17:45:37 -04:00
|
|
|
{
|
2023-11-15 02:01:46 -05:00
|
|
|
inputs,
|
2023-04-09 18:01:28 -04:00
|
|
|
pkgs,
|
|
|
|
...
|
2023-03-31 18:15:58 -04:00
|
|
|
}: {
|
2023-04-23 17:45:37 -04:00
|
|
|
imports = [
|
2023-11-15 02:01:46 -05:00
|
|
|
inputs.nix-gaming.nixosModules.pipewireLowLatency
|
2024-04-12 21:29:49 -04:00
|
|
|
inputs.nix-gaming.nixosModules.platformOptimizations
|
2024-05-26 16:43:48 -04:00
|
|
|
inputs.hyprland.nixosModules.default
|
2023-12-29 12:43:13 -05:00
|
|
|
./hardware.nix
|
2023-06-02 23:30:30 -04:00
|
|
|
./services
|
2023-11-29 23:04:57 -05:00
|
|
|
./networking.nix
|
2024-05-13 15:19:48 -04:00
|
|
|
../common.nix
|
2024-01-03 14:09:25 -05:00
|
|
|
../../home/wayland
|
2023-03-26 06:12:19 -04:00
|
|
|
../../modules
|
2023-04-02 06:11:29 -04:00
|
|
|
../../modules/fonts.nix
|
2024-01-03 19:19:55 -05:00
|
|
|
../../pkgs/overlays.nix
|
2023-04-23 17:45:37 -04:00
|
|
|
];
|
2023-01-31 12:18:27 -05:00
|
|
|
|
2024-10-08 09:35:18 -04:00
|
|
|
virtualisation = {
|
|
|
|
libvirtd.enable = true;
|
2024-11-12 16:39:37 -05:00
|
|
|
waydroid.enable = false;
|
2024-10-08 09:35:18 -04:00
|
|
|
};
|
2024-05-26 16:43:48 -04:00
|
|
|
programs.hyprland = {
|
|
|
|
enable = true;
|
|
|
|
# finalPackage = inputs.hyprland.packages.${pkgs.system}.default;
|
|
|
|
portalPackage = inputs.xdg-portal-hyprland.packages.${pkgs.system}.default;
|
|
|
|
};
|
|
|
|
|
2023-01-31 12:18:27 -05:00
|
|
|
services = {
|
2024-02-01 15:48:47 -05:00
|
|
|
pcscd.enable = true;
|
2024-03-07 03:57:07 -05:00
|
|
|
flatpak.enable = true;
|
2024-10-08 09:35:18 -04:00
|
|
|
avahi = {
|
|
|
|
enable = true;
|
|
|
|
openFirewall = true;
|
|
|
|
};
|
2024-02-01 15:48:47 -05:00
|
|
|
pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
|
|
alsa.support32Bit = true;
|
|
|
|
pulse.enable = true;
|
|
|
|
wireplumber.enable = true;
|
|
|
|
lowLatency = {
|
2024-03-07 03:57:07 -05:00
|
|
|
enable = false; # disabled due to upstream issue
|
2024-02-01 15:48:47 -05:00
|
|
|
quantum = 64;
|
|
|
|
rate = 48000;
|
|
|
|
};
|
|
|
|
};
|
2023-01-31 12:18:27 -05:00
|
|
|
xserver = {
|
2023-04-23 17:45:37 -04:00
|
|
|
enable = true;
|
2024-04-30 20:29:05 -04:00
|
|
|
videoDrivers = ["amdgpu"];
|
2024-02-06 10:47:23 -05:00
|
|
|
xkb = {
|
|
|
|
layout = "us";
|
|
|
|
variant = "";
|
|
|
|
};
|
2023-10-18 02:50:11 -04:00
|
|
|
};
|
|
|
|
};
|
2024-02-01 15:48:47 -05:00
|
|
|
security = {
|
|
|
|
rtkit.enable = true;
|
|
|
|
polkit.enable = true;
|
2024-03-07 03:57:07 -05:00
|
|
|
pam = {
|
|
|
|
services.hyprlock = {};
|
2023-11-15 02:01:46 -05:00
|
|
|
};
|
2023-01-31 12:18:27 -05:00
|
|
|
};
|
|
|
|
|
2024-02-01 15:48:47 -05:00
|
|
|
programs = {
|
|
|
|
gamemode.enable = true;
|
2024-10-14 08:02:15 -04:00
|
|
|
appimage = {
|
|
|
|
enable = true;
|
|
|
|
binfmt = true;
|
|
|
|
};
|
2024-02-01 15:48:47 -05:00
|
|
|
steam = {
|
|
|
|
enable = true;
|
2024-04-12 21:29:49 -04:00
|
|
|
platformOptimizations.enable = true;
|
2024-02-01 15:48:47 -05:00
|
|
|
extraCompatPackages = [
|
2024-03-29 18:27:36 -04:00
|
|
|
pkgs.proton-ge-bin
|
2024-02-01 15:48:47 -05:00
|
|
|
];
|
|
|
|
};
|
2023-01-31 12:18:27 -05:00
|
|
|
};
|
2023-04-23 17:45:37 -04:00
|
|
|
|
|
|
|
hardware = {
|
2024-02-01 15:48:47 -05:00
|
|
|
pulseaudio.enable = false;
|
2024-07-11 06:38:43 -04:00
|
|
|
graphics = {
|
2023-04-23 17:45:37 -04:00
|
|
|
enable = true;
|
2024-07-11 06:38:43 -04:00
|
|
|
enable32Bit = true;
|
2023-04-23 17:45:37 -04:00
|
|
|
};
|
2024-01-30 07:25:39 -05:00
|
|
|
opentabletdriver = {
|
|
|
|
enable = true;
|
|
|
|
daemon.enable = true;
|
|
|
|
};
|
2023-03-19 15:20:13 -04:00
|
|
|
};
|
2023-05-17 12:57:18 -04:00
|
|
|
|
2023-01-31 12:18:27 -05:00
|
|
|
environment.systemPackages = with pkgs; [
|
2023-10-28 08:51:09 -04:00
|
|
|
nil
|
2023-04-23 17:45:37 -04:00
|
|
|
dconf
|
|
|
|
libvirt
|
|
|
|
qemu_kvm
|
2024-04-12 21:29:49 -04:00
|
|
|
zulu
|
2024-10-08 09:35:18 -04:00
|
|
|
zulu17
|
2023-04-23 17:45:37 -04:00
|
|
|
];
|
2023-01-31 12:18:27 -05:00
|
|
|
}
|