nix: reorganise hyprland module into smaller modules

This commit is contained in:
Nico 2025-05-03 16:15:58 +10:00
parent 6d6d635fdd
commit 51de9e32c2
5 changed files with 46 additions and 24 deletions

View file

@ -19,29 +19,8 @@
xdg.portal.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
# install basic fonts
fonts = {
fontDir.enable = true; # fixes some programs
packages = with pkgs; [
noto-fonts # most langs and emojis
noto-fonts-cjk-sans # gets japanese and chinese langs
nerdfonts # programming fonts
corefonts # basic web fonts
];
};
programs.hyprlock.enable = true;
# Enable sound.
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
environment.systemPackages = with pkgs; [
kitty
waybar