2024-05-28 00:51:17 +05:30
|
|
|
{ inputs, pkgs, lib, ... }: let
|
|
|
|
pkgs-hyprland = inputs.hyprland.inputs.nixpkgs.legacyPackages.${pkgs.stdenv.hostPlatform.system};
|
|
|
|
in
|
2023-08-12 02:20:41 +05:30
|
|
|
{
|
|
|
|
# Import wayland config
|
|
|
|
imports = [ ./wayland.nix
|
|
|
|
./pipewire.nix
|
|
|
|
./dbus.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
# Security
|
|
|
|
security = {
|
2023-08-25 03:41:19 +05:30
|
|
|
pam.services.login.enableGnomeKeyring = true;
|
2023-08-12 02:20:41 +05:30
|
|
|
};
|
|
|
|
|
2023-08-25 03:41:19 +05:30
|
|
|
services.gnome.gnome-keyring.enable = true;
|
|
|
|
|
2023-08-12 02:20:41 +05:30
|
|
|
programs = {
|
|
|
|
hyprland = {
|
|
|
|
enable = true;
|
2024-05-11 07:23:22 +05:30
|
|
|
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
2023-08-12 02:20:41 +05:30
|
|
|
xwayland = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2024-06-01 07:36:50 +05:30
|
|
|
portalPackage = pkgs-hyprland.xdg-desktop-portal-hyprland;
|
2023-08-12 02:20:41 +05:30
|
|
|
};
|
|
|
|
};
|
2024-08-17 00:23:53 +05:30
|
|
|
|
2024-06-05 06:40:35 +05:30
|
|
|
services.xserver.excludePackages = [ pkgs.xterm ];
|
2024-08-17 00:23:53 +05:30
|
|
|
|
|
|
|
services.xserver = {
|
|
|
|
displayManager.sddm = {
|
|
|
|
enable = true;
|
|
|
|
wayland.enable = true;
|
|
|
|
enableHidpi = true;
|
|
|
|
theme = "chili";
|
|
|
|
package = pkgs.sddm;
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
2023-08-12 02:20:41 +05:30
|
|
|
}
|