17 lines
270 B
Nix
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 = [{
|
|
}];
|
|
};
|
|
}
|