2023-08-02 10:23:16 +01:00
|
|
|
{ pkgs, hyprland, ... }: {
|
|
|
|
imports = [ ./desktop.nix hyprland.nixosModules.default ];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
xdg-utils
|
|
|
|
gsettings-desktop-schemas
|
2023-08-08 08:21:51 +01:00
|
|
|
swww
|
|
|
|
pipewire
|
|
|
|
wireplumber
|
|
|
|
wl-clipboard
|
|
|
|
grim
|
|
|
|
slurp
|
|
|
|
swayimg
|
|
|
|
pamixer
|
|
|
|
pavucontrol
|
|
|
|
playerctl
|
|
|
|
brightnessctl
|
2023-08-02 10:23:16 +01:00
|
|
|
];
|
|
|
|
security.pam.services.swaylock = { };
|
|
|
|
services = {
|
|
|
|
blueman.enable = true;
|
|
|
|
gvfs.enable = true;
|
|
|
|
tumbler.enable = true;
|
2023-08-03 21:26:48 +01:00
|
|
|
greetd.settings = {
|
|
|
|
default_session.command = "Hyprland";
|
|
|
|
initial_session.command = "Hyprland";
|
|
|
|
};
|
2023-08-02 10:23:16 +01:00
|
|
|
};
|
2023-08-18 12:23:52 +01:00
|
|
|
fonts = {
|
|
|
|
packages = with pkgs; [
|
|
|
|
# icon fonts
|
|
|
|
material-symbols
|
|
|
|
# normal fonts
|
|
|
|
jost
|
|
|
|
lexend
|
|
|
|
noto-fonts
|
|
|
|
noto-fonts-cjk
|
|
|
|
noto-fonts-emoji
|
|
|
|
roboto
|
|
|
|
# nerdfonts
|
|
|
|
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
|
|
|
];
|
|
|
|
fontconfig = {
|
|
|
|
enable = true;
|
|
|
|
# user defined fonts
|
|
|
|
# the reason there's Noto Color Emoji everywhere is to override DejaVu's
|
|
|
|
# B&W emojis that would sometimes show instead of some Color emojis
|
|
|
|
defaultFonts = {
|
|
|
|
serif = [ "Noto Serif" "Noto Color Emoji" ];
|
|
|
|
sansSerif = [ "Noto Sans" "Noto Color Emoji" ];
|
|
|
|
monospace = [ "FiraCode Nerd Font" "Noto Color Emoji" ];
|
|
|
|
emoji = [ "Noto Color Emoji" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-08-08 08:21:51 +01:00
|
|
|
xdg.portal = {
|
|
|
|
enable = true;
|
|
|
|
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
|
|
|
|
};
|
2023-08-03 16:01:13 +01:00
|
|
|
programs = {
|
2023-08-08 10:45:13 +01:00
|
|
|
hyprland = {
|
|
|
|
enable = true;
|
|
|
|
package = hyprland.packages.${pkgs.system}.hyprland;
|
|
|
|
};
|
2023-08-03 16:01:13 +01:00
|
|
|
thunar = {
|
|
|
|
enable = true;
|
|
|
|
plugins = with pkgs.xfce; [ thunar-archive-plugin thunar-volman ];
|
|
|
|
};
|
|
|
|
};
|
2023-08-02 10:23:16 +01:00
|
|
|
}
|