feat: initial commit

This commit is contained in:
Zoty 2026-03-27 19:34:02 -03:00
commit 54c34faa64
Signed by: Zoty
SSH key fingerprint: SHA256:WsGEGivgl37t3Mth6uugXMOgMCTR7QolIepNbC+j/tA
17 changed files with 841 additions and 0 deletions

37
modules/niri.nix Normal file
View file

@ -0,0 +1,37 @@
{ inputs, den, pkgs, ... }: {
den.aspects.niri.nixos = { pkgs, ... }: {
imports = [ inputs.niri-flake.nixosModules.niri ];
programs.niri = {
enable = true;
package = pkgs.niri;
};
environment.systemPackages = with pkgs; [
waybar
fuzzel
swaylock
swayidle
grim
slurp
wl-clipboard
mako
xdg-desktop-portal-gnome
];
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-gnome ];
};
security.pam.services.swaylock = {};
services.greetd = {
enable = true;
settings.default_session = {
command = "${pkgs.tuigreet}/bin/tuigreet --time --cmd niri-session";
user = "greeter";
};
};
};
}