nix/lib/modules/hyprland.nix
2023-05-07 09:19:14 +01:00

17 lines
270 B
Nix

{ user }: { lib, pkgs, config, ... }:
with lib;
let
cfg = config.roles.hyprland;
in
{
options.roles = {
hyprland = {
enable = mkEnableOption "hyprland";
};
};
config = mkIf cfg.enable {
home-manager.users.${user}.imports = [{
}];
};
}