merge
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.programs.awsVpnClient;
|
||||
awsvpnclientPkg = inputs.awsvpnclient.defaultPackage.${pkgs.system};
|
||||
in
|
||||
{
|
||||
options.programs.awsVpnClient = {
|
||||
enable = lib.mkEnableOption "AWS Client VPN with SAML (ymatsiuk/awsvpnclient flake)";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [ awsvpnclientPkg ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
|
||||
options.custom = {
|
||||
hyprland.enable = lib.mkEnableOption "enable hyprland - system window manger and compositor";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.custom.hyprland.enable {
|
||||
|
||||
programs.dconf.enable = true;
|
||||
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
|
||||
};
|
||||
|
||||
security.polkit.enable = true;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.custom = {
|
||||
obs.enable = lib.mkEnableOption "enable obs - capture, record and stream software";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.custom.obs.enable {
|
||||
};
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.custom = {
|
||||
steam.enable = lib.mkEnableOption "enable steam - game library and store";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.custom.steam.enable {
|
||||
programs.steam.enable = true;
|
||||
programs.gamemode.enable = true;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user