This repository has been archived on 2023-08-08. You can view files and clone it, but cannot push or open issues or pull requests.
nil/modules/profiles/graphical.nix
2021-11-28 17:20:10 -05:00

42 lines
853 B
Nix

{ config, pkgs, ... }: {
programs.sway = {
enable = true;
wrapperFeatures.gtk = true; # so that gtk works properly
extraPackages = with pkgs; [
swaylock
swayidle
wl-clipboard
mako # notification daemon
kitty
dmenu # Dmenu is the default in the config but i recommend wofi since its wayland native
wofi
];
};
# Enable sound.
sound.enable = true;
hardware.pulseaudio.enable = true;
fonts = {
enableDefaultFonts = true;
fonts = with pkgs; [
alegreya
fira-code
fira-code-symbols
hasklig
inter
liberation_ttf
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
];
fontconfig = {
defaultFonts = {
serif = [ "inter" ];
sansSerif = [ "alegreya" ];
monospace = [ "hasklig" ];
};
};
};
}