Re-add the features config prefix

This commit is contained in:
Oliver Davies 2025-07-09 08:00:00 +01:00
parent 34cb9db3d4
commit 45433358ff
50 changed files with 245 additions and 231 deletions

View file

@ -3,10 +3,10 @@
with lib;
let
cfg = config.core.bluetooth;
cfg = config.features.core.bluetooth;
in
{
options.core.bluetooth.enable = mkEnableOption "Enable bluetooth";
options.features.core.bluetooth.enable = mkEnableOption "Enable bluetooth";
config = mkIf cfg.enable {
hardware.bluetooth.enable = true;

View file

@ -3,10 +3,10 @@
with lib;
let
cfg = config.core.openssh;
cfg = config.features.core.openssh;
in
{
options.core.openssh.enable = mkEnableOption "Enable openssh";
options.features.core.openssh.enable = mkEnableOption "Enable openssh";
config = mkIf cfg.enable {
services.openssh = {

View file

@ -3,10 +3,10 @@
with lib;
let
cfg = config.core.pipewire;
cfg = config.features.core.pipewire;
in
{
options.core.pipewire.enable = mkEnableOption "Enable pipewire";
options.features.core.pipewire.enable = mkEnableOption "Enable pipewire";
config = mkIf cfg.enable {
services.pipewire = {

View file

@ -3,10 +3,10 @@
with lib;
let
cfg = config.core.xbanish;
cfg = config.features.core.xbanish;
in
{
options.core.xbanish.enable = mkEnableOption "Enable xbanish";
options.features.core.xbanish.enable = mkEnableOption "Enable xbanish";
config = mkIf cfg.enable {
services.xbanish.enable = true;

View file

@ -3,10 +3,10 @@
with lib;
let
cfg = config.core.zram;
cfg = config.features.core.zram;
in
{
options.core.zram.enable = mkEnableOption "Enable zram";
options.features.core.zram.enable = mkEnableOption "Enable zram";
config = mkIf cfg.enable {
zramSwap = {