add den pattern
This commit is contained in:
17
modules/core/programs.nix
Normal file
17
modules/core/programs.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
dirModules = config.features.modules.core or { };
|
||||
in
|
||||
{
|
||||
config = lib.mkIf ((dirModules.enable or false) && (dirModules.programs.enable or true)) {
|
||||
programs = {
|
||||
zsh.enable = true;
|
||||
|
||||
hyprland.enable = true;
|
||||
hyprland.xwayland.enable = true;
|
||||
|
||||
virt-manager.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user