mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 15:15:52 +05:30
34 lines
576 B
Nix
34 lines
576 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
# Import wayland config
|
|
imports = [ ./wayland.nix
|
|
./pipewire.nix
|
|
./dbus.nix
|
|
];
|
|
|
|
# Security
|
|
security = {
|
|
pam.services.swaylock = {
|
|
text = ''
|
|
auth include login
|
|
'';
|
|
};
|
|
};
|
|
|
|
programs = {
|
|
hyprland = {
|
|
enable = true;
|
|
xwayland = {
|
|
enable = true;
|
|
};
|
|
};
|
|
waybar = {
|
|
enable = true;
|
|
package = pkgs.waybar.overrideAttrs (oldAttrs: {
|
|
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
|
|
});
|
|
};
|
|
};
|
|
}
|