Updated configuration

This commit is contained in:
2025-08-26 09:21:24 -03:00
parent 3b2ccc8417
commit c784df06fd
39 changed files with 1859 additions and 176 deletions

View File

@@ -3,7 +3,7 @@
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd ${pkgs.hyprland}/bin/Hyprland";
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd ${pkgs.niri}/bin/niri-session";
user = "greeter";
};
};

View File

@@ -6,6 +6,7 @@
}: {
programs.hyprland = {
enable = true;
withUWSM = false; # Disable UWSM integration
# You can add more configuration options here as needed
# For example, to set a basic config file:
# settings = {
@@ -14,17 +15,5 @@
portalPackage = pkgs.xdg-desktop-portal-hyprland;
};
# Enable UWSM for better Wayland session management
programs.uwsm = {
enable = true;
waylandCompositors = {
hyprland = {
prettyName = "Hyprland";
comment = "Hyprland Wayland compositor";
binPath = "/run/current-system/sw/bin/Hyprland";
};
};
};
environment.sessionVariables.NIXOS_OZONE_WL = "1";
}

View File

@@ -0,0 +1,21 @@
{
pkgs,
inputs,
...
}: {
imports = [
inputs.niri.nixosModules.niri
];
programs.niri.enable = true;
# XDG Desktop Portal for niri
xdg.portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-gnome
];
};
environment.sessionVariables.NIXOS_OZONE_WL = "1";
}