confix/configuration/gui.nix

65 lines
1.2 KiB
Nix
Raw Normal View History

# GUI configuration.nix
{ config, lib, pkgs, inputs, ... }:
{
environment = {
variables = {
VISUAL = "$EDITOR";
BROWSER = "librewolf";
SXHKD_SHELL = "/bin/sh";
TERMINAL = "st";
};
};
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
};
services = {
xserver = {
enable = true;
displayManager.startx.enable = true;
windowManager.bspwm.enable = true;
layout = "us";
xkbVariant = "";
};
picom = {
enable = true;
};
fractalart = {
enable = true;
height = 1080;
width = 1920;
};
# To add the Flathub repo, run:
# $ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak.enable = true;
dbus.enable = true;
};
fonts.packages = with pkgs; [
comic-mono
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
fira-code
fira-code-symbols
dina-font
];
programs = {
dconf.enable = true;
};
programs = {
slock.enable = true;
};
environment.systemPackages = with pkgs; [
clipmenu
dunst
#hsetroot
notify-desktop
trayer
xbanish
xdo
xdragon
xsel
];
}