move niri module out of machines/haze
This commit is contained in:
parent
73b4123986
commit
460e856350
3 changed files with 2 additions and 16 deletions
31
nixosModules/niri.nix
Normal file
31
nixosModules/niri.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
self,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [ self.inputs.dms-plugin-registry.modules.default ];
|
||||
|
||||
programs.niri.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
pavucontrol
|
||||
playerctl
|
||||
xwayland-satellite
|
||||
];
|
||||
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
|
||||
programs.dms-shell = {
|
||||
enable = true;
|
||||
plugins = {
|
||||
dankBatteryAlerts.enable = config.services.upower.enable;
|
||||
dankHooks.enable = true;
|
||||
dankKDEConnect.enable = true;
|
||||
musicLyrics.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue