Skip to content

Conversation

@saylesss88
Copy link
Contributor

  • feat: Add sway configuration and SDDM option
  • feat: sway window manager initial PR

Initial Rough draft of Sway

@GregHilston
Copy link
Owner

@saylesss88 totally follow that it's a rough draft. I'll have to learn how to use sway and it's commands but I do like what I'm seeing a lot!

@saylesss88
Copy link
Contributor Author

Cool, yeah we'll get it to where you want it. I was able to get it to build on my intel laptop successfully and it was functional but needs a lot of work haha. What I did was change the isengard configuration to my host and username and generated my own hardware-configuration.nix and built it. FYI my intel laptop is painfully slow haha only 4G of RAM but it works..

@GregHilston
Copy link
Owner

GregHilston commented Jul 15, 2025 via email

@saylesss88 saylesss88 marked this pull request as draft July 15, 2025 12:32
fix: conflicts with `wlogout.nix` and `swaylock.nix`,
switch shell to `alacritty`
In order for it to work we need to tell NixOS to create a basic PAM
configuration for swaylock by adding the following to
`common/default.nix`:

```nix
security.pam.services.swaylock = {};
```

Now, after 5 minutes swaylock will lock your screen, just enter
your password to unlock it.
Needed swayidle to launch `${pkgs.swaylock-effects}/bin/swaylock`
rather than `${pkgs.swaylock-effects}/bin/swaylock-effects` for it
to work correctly.
@saylesss88
Copy link
Contributor Author

I have made quite a few changes to this taking your feedback.

  • Updated the waybar config
  • Enabled stylix for the sway config
  • Fixed the swaylock and swayidle configs
  • Switched the shell to alacritty
  • Got rid of the /nix/store/ path hardcoded in
  • There's still more to do, let me know if this being a draft affects you being able to test it

@GregHilston
Copy link
Owner

The draft status has zero impact on my ability to test this out ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants