mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
27 lines
476 B
Nix
27 lines
476 B
Nix
{ username, pkgs, ... }:
|
|
{
|
|
services = {
|
|
displayManager.autoLogin = {
|
|
enable = true;
|
|
user = "${username}";
|
|
};
|
|
libinput = {
|
|
enable = true;
|
|
# mouse = {
|
|
# accelProfile = "flat";
|
|
# };
|
|
};
|
|
};
|
|
|
|
|
|
programs.hyprland.enable = true;
|
|
xdg.portal = {
|
|
enable = true;
|
|
wlr.enable = true;
|
|
xdgOpenUsePortal = true;
|
|
extraPortals = [
|
|
pkgs.xdg-desktop-portal-hyprland
|
|
pkgs.xdg-desktop-portal-gtk
|
|
];
|
|
};
|
|
}
|