feat(hyprland): init hyprland as nixos and home-manager modules
This commit is contained in:
parent
f51b21889c
commit
ee0aa7c4a3
6 changed files with 40 additions and 1 deletions
7
users/rafiq/modules/firefox.nix
Normal file
7
users/rafiq/modules/firefox.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
firefox
|
||||
];
|
||||
}
|
9
users/rafiq/modules/hyprland.nix
Normal file
9
users/rafiq/modules/hyprland.nix
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue