mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2024-12-23 12:37:30 +01:00
59 lines
1.1 KiB
Nix
59 lines
1.1 KiB
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
# Video
|
|
hardware.graphics = {
|
|
enable = true;
|
|
enable32Bit = true;
|
|
};
|
|
# services.displayManager.ly.enable = true;
|
|
programs.hyprland = {
|
|
enable = true;
|
|
withUWSM = true;
|
|
xwayland.enable = true;
|
|
};
|
|
services.xserver.enable = true;
|
|
services.xserver.displayManager.gdm.enable = true;
|
|
services.xserver.desktopManager.gnome.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;
|
|
|
|
home-manager.users.felixalb = {
|
|
services = {
|
|
dunst.enable = true;
|
|
};
|
|
};
|
|
}
|