Niri: Difference between revisions
mNo edit summary |
Add more Additional Setup |
||
Line 27: | Line 27: | ||
== Additional Setup == | == 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]. | 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 including [[Swayidle]], [[Swaylock]], [[Waybar]] abd [[Secret Service]] 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= | {{file|~/.config/home-manager/home.nix|nix|3= | ||
programs.alacritty.enable = true; # Super+T in the default setting | programs.alacritty.enable = true; # Super+T in the default setting (terminal) | ||
programs.fuzzel.enable = true; # Super+D in the default setting | programs.fuzzel.enable = true; # Super+D in the default setting (app launcher) | ||
programs.swaylock.enable = true; # Super+Alt+L in the default setting | programs.swaylock.enable = true; # Super+Alt+L in the default setting (screen locker) | ||
programs.mako.enable = true; | programs.mako.enable = true; # notification daemon | ||
programs.waybar.enable = true; | programs.waybar.enable = true; # launch on startup in the default setting (bar) | ||
services.swayidle.enable = true; | services.swayidle.enable = true; # idle management daemon | ||
home.packages = with pkgs; [ | home.packages = with pkgs; [ | ||
xdg-desktop-portal-gnome | |||
swaybg # wallpaper | |||
]; | ]; | ||
}} | }} | ||
{{file|/etc/nixos/configuration.nix|nix|3= | {{file|/etc/nixos/configuration.nix|nix|3= | ||
services.gnome.gnome-keyring.enable = true; # secret service | |||
security.pam.services.swaylock = {}; | security.pam.services.swaylock = {}; | ||
}} | }} | ||
== See Also == | |||
* [[Sway]] | |||
* [[Wallpapers for Wayland]] | |||
* https://github.com/sodiboo/niri-flake#additional-notes | |||
[[Category:Window managers]] | [[Category:Window managers]] | ||
[[Category:Applications]] | [[Category:Applications]] |