Prefefix custom modules with az-
This commit is contained in:
parent
712193f01c
commit
a511a1e113
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue