123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- { config, pkgs, ... }:
- let
- waybar = pkgs.waybar.override {
- pulseSupport = true;
- };
- in
- {
- programs.sway = {
- enable = true;
- extraPackages = with pkgs; [
- swaylock
- swayidle
- wl-clipboard
- qt5.qtwayland
- waybar
- mako
- bemenu
- grim
- slurp
- xwayland
- lxqt.lxqt-openssh-askpass
- xorg.xrdb
- xdg-dbus-proxy
- libnotify
- gnome3.networkmanagerapplet
- gnome3.networkmanager_openvpn
- gnome3.zenity
- gvfs
- qt5ct
- libsForQt5.qtstyleplugin-kvantum
- gnome_themes_standard
- adapta-gtk-theme
- hicolor-icon-theme
- arc-icon-theme
- vanilla-dmz
- ];
- extraSessionCommands = ''
- export XDG_CURRENT_DESKTOP=sway
- export XDG_SESSION_TYPE=wayland
- export SSH_ASKPASS=lxqt-openssh-askpass
- export MOZ_ENABLE_WAYLAND=1
- export QT_QPA_PLATFORM=wayland
- export QT_QPA_PLATFORMTHEME=qt5ct
- export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
- export SDL_VIDEODRIVER=wayland
- export _JAVA_AWT_WM_NONREPARENTING=1
- export BEMENU_BACKEND=wayland
- '';
- };
- fonts.fonts = with pkgs; [
- noto-fonts
- noto-fonts-cjk
- fira-mono
- fira-code
- fira-code-symbols
- ];
- environment.etc."dconf/profile/user".text = ''
- user-db:user
- system-db:system-wide
- '';
- environment.etc."dconf/db/system-wide.d/gnome".text = ''
- [org/gnome/desktop/interface]
- cursor-theme='Vanilla-DMZ'
- gtk-theme='Adapta'
- icon-theme='Arc'
- font-name='Noto Sans 10'
- '';
- programs.firejail = {
- enable = true;
- wrappedBinaries = {
- firefox = "${pkgs.firefox}/bin/firefox";
- chromium = "${pkgs.chromium}/bin/chromium";
- };
- };
-
- programs.light.enable = true;
- environment.systemPackages = with pkgs; [
- pcmanfm
- lxappearance
- pavucontrol
- pamixer
- gnumeric
- mpv
- keepassxc
- deadbeef
- lxqt.qterminal
- virtmanager
- ];
- i18n.inputMethod.enabled = "fcitx";
- i18n.inputMethod.fcitx.engines = with pkgs.fcitx-engines ; [ mozc ];
- }
|