nixos-config/modules/sway/default.nix

36 lines
781 B
Nix
Raw Normal View History

2020-12-29 04:05:45 +00:00
{ pkgs, ... }:
2020-09-18 13:54:09 +00:00
{
2020-09-24 05:45:48 +00:00
programs.sway.enable = true;
2020-09-18 13:54:09 +00:00
2020-09-24 05:45:48 +00:00
environment.variables.GTK_THEME = "Yaru-dark";
environment.variables.MOZ_ENABLE_WAYLAND = "1";
2020-09-18 13:54:09 +00:00
2020-09-24 05:45:48 +00:00
environment.etc."xdg/gtk-3.0/settings.ini".text = ''
[Settings]
gtk-theme-name=Yaru-dark
gtk-icon-theme-name=Numix
'';
2020-09-18 13:54:09 +00:00
2020-09-24 05:45:48 +00:00
services.gvfs.enable = true;
programs.dconf.enable = true;
networking.networkmanager.enable = true;
2020-09-18 13:54:09 +00:00
2020-09-24 05:45:48 +00:00
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
2020-12-05 23:07:37 +00:00
xdg_utils
2020-09-24 05:45:48 +00:00
];
2020-09-18 13:54:09 +00:00
2020-09-24 05:45:48 +00:00
programs.bash.interactiveShellInit = '' [ "$(tty)" = "/dev/tty1" ] && exec sway '';
2020-09-18 13:54:09 +00:00
}