Niri: Difference between revisions

34j (talk | contribs)
mNo edit summary
34j (talk | contribs)
Add Additional Setup
Line 22: Line 22:


See [https://github.com/YaLTeR/niri/wiki the wiki] for configuration options for Niri.
See [https://github.com/YaLTeR/niri/wiki the wiki] for configuration options for Niri.
== Additional Setup ==
As described in [https://github.com/YaLTeR/niri/wiki/Example-systemd-Setup Example systemd Setup (Niri wiki)], you might want to set up some additional services as follows to complement the functionality of a regular window manager. Some of the these settings are also required to enable all the features of [https://github.com/YaLTeR/niri/blob/main/resources/default-config.kdl the default configuration file].
{{file|~/.config/home-manager/home.nix|nix|3=
programs.alacritty.enable # Super+T in the default setting
programs.fuzzel.enable = true; # Super+D in the default setting
programs.swaylock.enable = true; # Super+Alt+L in the default setting
programs.mako.enable = true;
programs.waybar.enable = true;
services.swayidle.enable = true;
home.packages = with pkgs; [
    swaybg
];
}}
{{file|/etc/nixos/configuration.nix|nix|3=
security.pam.services.swaylock = {};
}}


[[Category:Window managers]]
[[Category:Window managers]]
[[Category:Applications]]
[[Category:Applications]]