Rebuild files to add wayland as separate file in system/core
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
{ 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 = { };
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user