added niri config

This commit is contained in:
chloe 2025-04-19 11:42:22 +02:00
parent 2694935f92
commit 5642f166f0
3 changed files with 94 additions and 5 deletions

55
shared/client/niri.nix Normal file
View file

@ -0,0 +1,55 @@
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
mako
grim
slurp
wl-clipboard
xdg-utils
sway-contrib.grimshot
swaylock
swaynotificationcenter
nautilus
libheif
libheif.out
];
services.gvfs.enable = true;
services.gnome.gnome-keyring.enable = true;
programs.niri = {
enable = true;
};
xdg.portal = {
wlr.enable = true;
extraPortals = [
pkgs.xdg-desktop-portal-gtk
pkgs.xdg-desktop-portal-gnome
];
};
security.pam.loginLimits = [
{
domain = "@users";
item = "rtprio";
type = "-";
value = 1;
}
];
nixpkgs.overlays = [
(final: prev: {
nautilus = prev.nautilus.overrideAttrs (nprev: {
buildInputs =
nprev.buildInputs
++ (with pkgs.gst_all_1; [
gst-plugins-good
gst-plugins-bad
]);
});
})
];
programs.waybar = {
enable = true;
};
}