nix/nixos/desktop-sway.nix

57 lines
937 B
Nix
Raw Normal View History

2021-10-13 00:47:43 +02:00
{ pkgs, ... }:
{
imports = [./desktop.nix];
services.pipewire = {
enable = true;
alsa.enable = true;
# alsa.support32bit = true;
pulse.enable = true;
};
programs.sway = {
enable = true;
wrapperFeatures = { gtk = true; };
extraPackages = with pkgs; [
swaylock
alacritty
swayidle
swaylock-effects
mako
bemenu
# - bar
i3blocks
acpi
lm_sensors
# - tools
wl-clipboard
2021-11-06 13:12:01 +01:00
wdisplays
2021-10-13 00:47:43 +02:00
ponymix
brightnessctl
gammastep
grim
slurp
];
};
# done my sway:
# security.pam.services.swaylock = {};
# hardware.opengl.enable = true;
# fonts.enableDefaultFonts = true;
# programs.dconf.enable = true; # gtk theme
programs.kdeconnect = {
enable = true;
# openFirewall = true; - by enable
};
programs.browserpass.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryFlavor = "gnome3";
};
# services.acpid.enable = true;
}