nix/modules/nixos/sway.nix

83 lines
1.3 KiB
Nix
Raw Normal View History

2023-10-05 01:02:31 -05:00
{pkgs, ...}: {
2023-10-03 11:52:44 -05:00
imports = [./pipewire.nix];
2023-09-05 22:39:17 -05:00
2023-09-05 23:51:32 -05:00
# services.xserver.libinput.enable = true;
2023-09-05 22:39:17 -05:00
services.gnome.gnome-keyring.enable = true;
programs.gnupg.agent = {
enable = true;
pinentryFlavor = "gnome3";
enableSSHSupport = true;
};
programs.sway = {
enable = true;
wrapperFeatures.gtk = true;
};
xdg.portal = {
enable = true;
wlr.enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
];
};
services.dbus.enable = true;
2023-09-05 23:51:32 -05:00
programs.thunar = {
enable = true;
2023-10-03 11:52:44 -05:00
plugins = with pkgs.xfce; [thunar-archive-plugin thunar-volman];
2023-09-05 23:51:32 -05:00
};
2023-09-05 23:11:14 -05:00
2023-09-11 10:29:12 -05:00
services.gvfs = {
enable = true;
};
2023-09-11 10:30:10 -05:00
environment = {
variables = {
2023-10-16 16:50:55 -05:00
GTK_THEME = "Catppuccin-Mocha-Compact-Sapphire-Dark";
2023-09-11 10:30:10 -05:00
VISUAL = "hx";
PAGER = "less";
MANPAGER = "less";
};
systemPackages = with pkgs; [
brightnessctl
feh
gimp
grim
inkscape
krita
libinput
libinput-gestures
libnotify
lutris
nil
nixpkgs-fmt
noto-fonts
pamixer
pavucontrol
playerctl
pulseaudio
pulsemixer
rclone
restic
slurp
steam
swaybg
swayidle
swaylock
vlc
vulkan-tools
waybar
weechat
wine
wl-clipboard
zathura
];
};
2023-09-05 22:39:17 -05:00
}