feat(hyprland): init hyprland as nixos and home-manager modules

This commit is contained in:
Mohammad Rafiq 2025-03-05 08:04:20 +08:00
parent f51b21889c
commit ee0aa7c4a3
6 changed files with 40 additions and 1 deletions

View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
firefox
];
}

View file

@ -0,0 +1,9 @@
{ config, lib, ... }: {
wayland.windowManager.hyprland = {
enable = true;
package = null;
portalPackage = null;
};
xdg.configFile."hypr".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/repos/dotfiles/users/rafiq/.config/hypr";
xdg.configFile."hypr/hyprland.conf".enable = false; # Needed so home-manager won't create the config file
}