mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
39 lines
985 B
Nix
39 lines
985 B
Nix
{ config, pkgs, lib, ... }:
|
|
let
|
|
cfg = config.sconfig.sway;
|
|
in
|
|
{
|
|
options.sconfig.sway = lib.mkEnableOption "Enable Sway Window Manager";
|
|
|
|
config = lib.mkIf cfg {
|
|
programs.sway.enable = true;
|
|
programs.bash.interactiveShellInit = '' [ "$(tty)" = "/dev/tty1" ] && exec sway '';
|
|
|
|
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
|
|
'';
|
|
|
|
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
|
|
xdg_utils
|
|
];
|
|
};
|
|
}
|