nixos-config/modules/sway/default.nix

30 lines
875 B
Nix
Raw Normal View History

2020-09-18 13:54:09 +00:00
{ config, pkgs, ... }:
{
programs.sway.enable = true;
environment.variables.GTK_THEME = "Yaru-dark";
environment.variables.MOZ_ENABLE_WAYLAND = "1";
environment.etc."xdg/gtk-3.0/settings.ini".text = ''
[Settings]
gtk-theme-name=Yaru-dark
gtk-icon-theme-name=Numix
'';
# hardware.bluetooth.enable = true;
# services.blueman.enable = true;
services.gvfs.enable = true;
programs.dconf.enable = true;
networking.networkmanager.enable = true;
environment.systemPackages = with pkgs; [
numix-icon-theme yaru-theme
gnome3.networkmanagerapplet gnome3.file-roller gnome3.adwaita-icon-theme
mate.mate-terminal xfce.thunar i3status xfce.thunar-archive-plugin caffeine-ng
wf-recorder
];
programs.bash.interactiveShellInit = '' [ "$(tty)" = "/dev/tty1" ] && exec sway '';
}