Prefefix custom modules with az-

This commit is contained in:
Andreas Zweili 2023-05-29 09:17:12 +02:00
parent 712193f01c
commit a511a1e113
10 changed files with 25 additions and 25 deletions

View File

@ -1,10 +1,10 @@
{ config, lib, ... }:
let
cfg = config.hardware.az_bluetooth;
cfg = config.hardware.az-bluetooth;
in
{
options = {
hardware.az_bluetooth.enable = lib.mkEnableOption "Enable Bluetooth";
hardware.az-bluetooth.enable = lib.mkEnableOption "Enable Bluetooth";
};
config = lib.mkIf cfg.enable {

View File

@ -1,10 +1,10 @@
{ config, lib, pkgs, ... }:
let
cfg = config.hardware.dvd;
cfg = config.hardware.az-dvd;
in
{
options = {
hardware.dvd.enable = lib.mkEnableOption "DVD";
hardware.az-dvd.enable = lib.mkEnableOption "DVD";
};
config = lib.mkIf cfg.enable {

View File

@ -1,10 +1,10 @@
{ config, lib, ... }:
let
cfg = config.hardware.az_nvidia;
cfg = config.hardware.az-nvidia;
in
{
options = {
hardware.az_nvidia.enable = lib.mkEnableOption "Nvidia GPU Support";
hardware.az-nvidia.enable = lib.mkEnableOption "Nvidia GPU Support";
};
config = lib.mkIf cfg.enable {

View File

@ -53,7 +53,7 @@
programs.dconf.enable = true;
# Gnome Image Viewer
programs.eog.enable = true;
programs.az-eog.enable = true;
# Enable Flatpack
services.flatpak.enable = true;

View File

@ -1,10 +1,10 @@
{ config, custom, lib, pkgs, ... }:
let
cfg = config.programs.eog;
cfg = config.programs.az-eog;
in
{
options = {
programs.eog.enable = lib.mkEnableOption "Gnome Image Viewer";
programs.az-eog.enable = lib.mkEnableOption "Gnome Image Viewer";
};
config = lib.mkIf cfg.enable {

View File

@ -1,10 +1,10 @@
{ config, lib, pkgs, ... }:
let
cfg = config.programs.lockscreen;
cfg = config.programs.az-lockscreen;
in
{
options = {
programs.lockscreen.enable = lib.mkEnableOption "Lockscreen";
programs.az-lockscreen.enable = lib.mkEnableOption "Lockscreen";
};
config = lib.mkIf cfg.enable {

View File

@ -1,10 +1,10 @@
{ config, custom, lib, pkgs, ... }:
let
cfg = config.programs.makemkv;
cfg = config.programs.az-makemkv;
in
{
options = {
programs.makemkv.enable = lib.mkEnableOption "MakeMKV";
programs.az-makemkv.enable = lib.mkEnableOption "MakeMKV";
};
config = lib.mkIf cfg.enable {

View File

@ -1,10 +1,10 @@
{ config, lib, pkgs, ... }:
let
cfg = config.services.rdp;
cfg = config.services.az-rdp;
in
{
options = {
services.rdp.enable = lib.mkEnableOption "enable rdp";
services.az-rdp.enable = lib.mkEnableOption "enable rdp";
};
config = lib.mkIf cfg.enable {

View File

@ -49,17 +49,17 @@
];
hardware = {
az_bluetooth.enable = true;
az_nvidia.enable = true;
dvd.enable = true;
az-bluetooth.enable = true;
az-dvd.enable = true;
az-nvidia.enable = true;
};
programs = {
lockscreen.enable = true;
makemkv.enable = true;
az-lockscreen.enable = true;
az-makemkv.enable = true;
};
services.rdp.enable = true;
services.az-rdp.enable = true;
virtualisation.virtualbox.host.enable = true;
}

View File

@ -42,13 +42,13 @@
];
hardware = {
az_bluetooth.enable = true;
dvd.enable = true;
az-bluetooth.enable = true;
az-dvd.enable = true;
};
programs = {
lockscreen.enable = true;
makemkv.enable = true;
az-lockscreen.enable = true;
az-makemkv.enable = true;
};
virtualisation.virtualbox.host.enable = true;