1
Fork 0
nixos-system-config/wm/xmonad.nix
2024-04-05 14:36:20 +02:00

48 lines
757 B
Nix

{ config, lib, pkgs, ... }:
{
imports = [
../packages/sets/x.nix
];
environment.systemPackages = with pkgs; [
xmobar
flameshot
rofi
feh
kitty
pavucontrol
picom
];
services.xserver = {
enable = true;
xkb = {
layout = "de";
options = "eurosign:e";
};
libinput.enable = true;
windowManager.xmonad = {
enable = true;
enableContribAndExtras = true;
extraPackages = hp: [
hp.dbus
hp.xmonad-contrib
hp.monad-logger
];
};
};
services.gnome.gnome-keyring.enable = true;
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
config.common.default = "*";
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
];
};
}