47 lines
1.2 KiB
Nix
47 lines
1.2 KiB
Nix
{ pkgs, lib, wallpaper, style, ... } @args: let
|
|
sway = import ./sway args;
|
|
config = pkgs.writeText "swayConfig" sway.config;
|
|
in {
|
|
imports = [
|
|
./desktop/App.nix
|
|
./desktop/Bluetooth.nix
|
|
./desktop/Brightness.nix
|
|
./desktop/Dconf.nix
|
|
./desktop/GnomeApps.nix
|
|
./desktop/Polkit.nix
|
|
./desktop/Portal.nix
|
|
./desktop/Realtime.nix
|
|
./desktop/Sound.nix
|
|
];
|
|
|
|
services.gnome.gnome-keyring.enable = lib.mkForce false;
|
|
environment.systemPackages = with pkgs; [
|
|
gnome.adwaita-icon-theme # GTK icons.
|
|
grim slurp # Screenshot.
|
|
mako # Notification system.
|
|
networkmanagerapplet # Internet configuration.
|
|
pamixer pavucontrol pulseaudio # Audio.
|
|
playerctl # Multimedia controls.
|
|
sway-contrib.inactive-windows-transparency # Transparent unfocused windows.
|
|
wl-clipboard # Clipboard.
|
|
];
|
|
|
|
programs.sway = {
|
|
enable = true;
|
|
wrapperFeatures = {
|
|
base = true;
|
|
gtk = true;
|
|
};
|
|
extraOptions = [
|
|
"--config=${config}"
|
|
];
|
|
};
|
|
|
|
environment = {
|
|
variables = {
|
|
SWAY_IWT_PATH = "${pkgs.sway-contrib.inactive-windows-transparency}/bin/inactive-windows-transparency.py";
|
|
# PATH = [ "/etc/swaybin" ]; # NOTE: Kept as an example on PATH modification.
|
|
};
|
|
};
|
|
}
|