!KEJUbONnoBpiYKGWEq:nixos.org

NixOS Gaming

693 Members
Gaming things, my hands are typing words.176 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
27 Jan 2024
@k900:0upti.meK900That could also do it17:45:32
@x10an14:matrix.orgx10an14

This is my sway config on the nixos side of same flake inputs-sharing nix-repo:

_:
# Sway specific stuffs (fixes that must be system based - instead of home-manager based)
{
  # Allow Wayland stuff to use OpenGL
  #  (Anything installed via Home-Manager needs a new switch for this to take effect)
  hardware.opengl.enable = true;

  # Necessary according to Nixos Wiki for Sway under HM:
  security.polkit.enable = true;

  # Allow swaylock to unlock machine;
  #   necessary due to: https://github.com/NixOS/nixpkgs/issues/143365
  programs.sway.enable = true;

  # Allow screensharing:
  services.pipewire = {
    enable = true;
    alsa.enable = true;
    pulse.enable = true;
  };

  xdg.portal = {
    enable = true;
    wlr.enable = true;
    # Don't enable unless sway.wrapperFeatures.gtk is also enabled
    # extraPortals = [pks.xdg-desktop-portal-gtk];
    # gtkUsePortal = true;
  };

  # Enable icons for say, Gnome applications
  xdg.icons.enable = true;
}
17:45:53
@x10an14:matrix.orgx10an14
In reply to @k900:0upti.me
Do you maybe have different versions of the flake activated though
No, I always do sudo nixos-rebuild switch; home-manager switch. And I do the nix flake check --log-format internal-json -vvv |& nom --json before I activate either.
17:46:57
@k900:0upti.meK900Well I guess the other option is just "Sway broke Proton"17:47:21

Show newer messages


Back to Room ListRoom Version: 6