nix/modules/nixos/sway.nix

91 lines
1.6 KiB
Nix
Raw Normal View History

2024-02-16 14:57:52 -06:00
{pkgs, ...}: {
imports = [
./pipewire.nix
];
2023-09-05 22:39:17 -05:00
2024-03-22 09:54:00 -05:00
programs.sway = {
enable = true;
wrapperFeatures.gtk = true;
};
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;
2024-01-06 09:52:13 -06:00
2023-09-05 22:39:17 -05:00
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
2024-01-06 09:52:13 -06:00
# settings = {
# pinentry-program = "/run/current-system/sw/bin/pinentry";
# };
2023-09-05 22:39:17 -05:00
};
xdg.portal = {
enable = true;
wlr.enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
];
};
2024-03-22 09:54:00 -05:00
# I'm currently leaning Plasma since 6.0 released, so we use that pinentry
programs.gnupg.agent.pinentryPackage = pkgs.pinentry-qt;
2023-09-05 22:39:17 -05:00
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
2023-09-11 10:30:10 -05:00
grim
# inkscape
# krita
2023-09-11 10:30:10 -05:00
libinput
libinput-gestures
libnotify
mako
# lutris
# nil
# nixpkgs-fmt
2023-09-11 10:30:10 -05:00
noto-fonts
pamixer
# pavucontrol
2023-09-11 10:30:10 -05:00
playerctl
2024-01-13 14:38:17 -06:00
pulseaudio
2023-09-11 10:30:10 -05:00
pulsemixer
# rclone
# restic
2023-09-11 10:30:10 -05:00
slurp
# steam
2023-09-11 10:30:10 -05:00
swaybg
swayidle
swaylock
# vlc
# vulkan-tools
2023-09-11 10:30:10 -05:00
waybar
# weechat
# wine
2023-09-11 10:30:10 -05:00
wl-clipboard
zathura
];
};
2023-09-05 22:39:17 -05:00
}