40 lines
1,005 B
Nix
40 lines
1,005 B
Nix
{ inputs, den, pkgs, ... }: {
|
|
den.aspects.niri.nixos = { pkgs, ... }:
|
|
let
|
|
quickshell-niri = inputs.qml-niri.packages.${pkgs.stdenv.hostPlatform.system}.quickshell;
|
|
in {
|
|
imports = [ inputs.niri-flake.nixosModules.niri ];
|
|
|
|
fonts.packages = [ pkgs.nerd-fonts.jetbrains-mono ];
|
|
|
|
programs.niri.enable = true;
|
|
|
|
programs.gpu-screen-recorder.enable = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
quickshell-niri
|
|
xdg-desktop-portal-gnome
|
|
xwayland-satellite
|
|
gpu-screen-recorder-gtk
|
|
];
|
|
|
|
xdg.portal = {
|
|
enable = true;
|
|
extraPortals = [
|
|
pkgs.xdg-desktop-portal-gnome
|
|
pkgs.kdePackages.xdg-desktop-portal-kde
|
|
];
|
|
config.common.default = [ "gnome" ];
|
|
};
|
|
|
|
security.pam.services.swaylock = {};
|
|
|
|
services.greetd = {
|
|
enable = true;
|
|
settings.default_session = {
|
|
command = "${pkgs.tuigreet}/bin/tuigreet --time --cmd niri-session";
|
|
user = "greeter";
|
|
};
|
|
};
|
|
};
|
|
}
|