Jump to content

Sway: Difference between revisions

201 bytes removed ,  21 March
→‎Using NixOS: remove pipewire/screensharing as it's mentioned elsewhere
imported>Hypnosis2839
(→‎Using NixOS: cut out redundant config)
imported>Hypnosis2839
(→‎Using NixOS: remove pipewire/screensharing as it's mentioned elsewhere)
Line 6: Line 6:


=== Using NixOS ===
=== Using NixOS ===
Here is a minimal configuration (without [[Home Manager]]) where everything you would expect (like screen sharing and gtk themes) work:
Here is a minimal configuration:
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
{ config, pkgs, lib, ... }:
{ config, pkgs, lib, ... }:
Line 16: Line 16:
     mako # notification system developed by swaywm maintainer
     mako # notification system developed by swaywm maintainer
   ];
   ];
  services.pipewire = {
    enable = true;
    alsa.enable = true;
    pulse.enable = true;
  };


   # Enable the gnome-keyring secrets vault.  
   # Enable the gnome-keyring secrets vault.  
Anonymous user