moar modules

This commit is contained in:
Tristan 2023-05-07 09:17:27 +01:00
parent a1175ba492
commit 011009d22f
17 changed files with 556 additions and 240 deletions

17
lib/modules/hyprland.nix Normal file
View file

@ -0,0 +1,17 @@
{ 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 = [{
}];
};
}