mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
34 lines
643 B
Nix
34 lines
643 B
Nix
{ inputs, pkgs, ... }:
|
|
|
|
{
|
|
# Import wayland config
|
|
imports = [ ./wayland.nix
|
|
./pipewire.nix
|
|
./dbus.nix
|
|
];
|
|
|
|
# Security
|
|
security = {
|
|
pam.services.swaylock = {
|
|
text = ''
|
|
auth include login
|
|
'';
|
|
};
|
|
# pam.services.gtklock = {};
|
|
pam.services.login.enableGnomeKeyring = true;
|
|
};
|
|
|
|
services.gnome.gnome-keyring.enable = true;
|
|
|
|
programs = {
|
|
hyprland = {
|
|
enable = true;
|
|
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
|
xwayland = {
|
|
enable = true;
|
|
};
|
|
portalPackage = pkgs.xdg-desktop-portal-hyprland;
|
|
};
|
|
};
|
|
}
|