mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-07 22:20:33 +02:00
added niri config
This commit is contained in:
parent
2694935f92
commit
5642f166f0
3 changed files with 94 additions and 5 deletions
55
shared/client/niri.nix
Normal file
55
shared/client/niri.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue