2024-11-30 23:36:53 +01:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
# Video
|
|
|
|
hardware.graphics = {
|
|
|
|
enable = true;
|
|
|
|
enable32Bit = true;
|
|
|
|
};
|
2024-12-11 10:56:13 +01:00
|
|
|
hardware.amdgpu.opencl.enable = true;
|
2024-12-03 22:44:25 +01:00
|
|
|
services.displayManager.ly.enable = true;
|
|
|
|
services.xserver.enable = true;
|
|
|
|
|
2024-11-30 23:36:53 +01:00
|
|
|
programs.hyprland = {
|
|
|
|
enable = true;
|
|
|
|
xwayland.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Audio
|
|
|
|
services.pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
|
|
pulse.enable = true;
|
|
|
|
jack.enable = true;
|
|
|
|
};
|
|
|
|
hardware.pulseaudio.enable = false;
|
|
|
|
|
|
|
|
# Misc
|
|
|
|
fonts = {
|
|
|
|
fontDir.enable = true;
|
|
|
|
packages = with pkgs; [
|
|
|
|
noto-fonts
|
|
|
|
noto-fonts-emoji
|
|
|
|
noto-fonts-cjk-sans
|
|
|
|
font-awesome
|
|
|
|
fira-code
|
|
|
|
hack-font
|
|
|
|
(nerdfonts.override {
|
|
|
|
fonts = [
|
|
|
|
"Hack"
|
|
|
|
];
|
|
|
|
})
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.sessionVariables = {
|
|
|
|
NIXOS_OZONE_WL = "1";
|
|
|
|
SSH_AUTH_SOCK = "/run/user/${toString config.users.users.felixalb.uid}/keyring/ssh";
|
|
|
|
};
|
|
|
|
|
|
|
|
services.gnome.gnome-keyring.enable = true;
|
|
|
|
|
2024-12-03 22:44:25 +01:00
|
|
|
# Dark mode
|
2024-11-30 23:36:53 +01:00
|
|
|
home-manager.users.felixalb = {
|
2024-12-03 22:44:25 +01:00
|
|
|
dconf.settings = {
|
|
|
|
"org/gnome/desktop/interface" = {
|
|
|
|
color-scheme = "prefer-dark";
|
|
|
|
};
|
2024-11-30 23:36:53 +01:00
|
|
|
};
|
2024-12-03 22:44:25 +01:00
|
|
|
|
|
|
|
gtk = {
|
|
|
|
enable = true;
|
|
|
|
theme = {
|
|
|
|
name = "Adwaita-dark";
|
|
|
|
package = pkgs.gnome-themes-extra;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
qt = {
|
|
|
|
enable = true;
|
|
|
|
platformTheme = "gnome";
|
|
|
|
style = "adwaita-dark";
|
2024-11-30 23:36:53 +01:00
|
|
|
};
|
|
|
|
}
|