24 lines
655 B
Nix
24 lines
655 B
Nix
{ config, pkgs, lib, user, inputs, ... }:
|
|
{
|
|
# Nix settings to use Hyprland's cache for packages
|
|
nix.settings = {
|
|
substituters = [ "https://hyprland.cachix.org" ];
|
|
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
|
|
};
|
|
|
|
# Install Hyprland and enable it as the window manager
|
|
environment.systemPackages = with pkgs; [ hyprland ];
|
|
programs.hyprland = {
|
|
enable = true;
|
|
xwayland.enable = true;
|
|
};
|
|
|
|
# Hyprland-specific Home Manager configurations
|
|
home-manager.users.${user.username} = {
|
|
wayland.windowManager.hyprland = {
|
|
enable = true;
|
|
settings = { };
|
|
};
|
|
};
|
|
}
|