More logical name

This commit is contained in:
Nox Sluijtman 2024-02-17 18:49:37 +01:00
parent 8283068de3
commit ba15898455
10 changed files with 20 additions and 20 deletions

View file

@ -1,8 +1,8 @@
{ lib, config, ... }:
with lib;
let cfg = config.voidcruiser.audio;
let cfg = config.voidconf.audio;
in {
options.voidcruiser.audio = {
options.voidconf.audio = {
enable = mkEnableOption "Enable all the audio daemons";
};
config = mkIf cfg.enable {

View file

@ -1,8 +1,8 @@
{ pkgs, config, lib, ... }:
with lib;
let cfg = config.voidcruiser.fontConfig;
let cfg = config.voidconf.fontConfig;
in {
options.voidcruiser.fontConfig = {
options.voidconf.fontConfig = {
enable = mkEnableOption "Enable opinionated font configuration";
joyPixels = mkEnableOption "Enables the JoyPixels font";
};

View file

@ -1,8 +1,8 @@
{ lib, config, ... }:
with lib;
let cfg = config.voidcruiser.graphics;
let cfg = config.voidconf.graphics;
in {
options.voidcruiser.graphics ={
options.voidconf.graphics ={
defaultSettings.enable = mkEnableOption "Enables some basic graphical settings";
nvidia = {
enable = mkEnableOption "Enables Nvidia settings";

View file

@ -1,8 +1,8 @@
{ lib, config, ... }:
with lib;
let cfg = config.voidcruiser.kernelTweaks;
let cfg = config.voidconf.kernelTweaks;
in {
options.voidcruiser.kernelTweaks = {
options.voidconf.kernelTweaks = {
enable = mkEnableOption "Enables kernel tweaks";
};
config = mkIf cfg.enable {

View file

@ -1,8 +1,8 @@
{ lib, config, ... }:
with lib;
let cfg = config.voidcruiser.nixSettings;
let cfg = config.voidconf.nixSettings;
in {
options.voidcruiser.nixSettings = {
options.voidconf.nixSettings = {
gc = {
automatic = mkOption {
type = types.bool;

View file

@ -1,8 +1,8 @@
{ lib, config, ... }:
with lib;
let cfg = config.voidcruiser.prometheus;
let cfg = config.voidconf.prometheus;
in {
options.voidcruiser.prometheus = {
options.voidconf.prometheus = {
enable = mkEnableOption "Enable prometheus node";
};
config = mkIf cfg.enable {

View file

@ -1,8 +1,8 @@
{ config, lib, pkgs, ... }:
with lib;
let cfg = config.voidcruiser.services;
let cfg = config.voidconf.services;
in {
options.voidcruiser.services = {
options.voidconf.services = {
flatpak = {
enable = mkEnableOption "Enables basic flatpak configuration";

View file

@ -1,8 +1,8 @@
{ config, lib, pkgs, ... }:
with lib;
let cfg = config.voidcruiser.vim;
let cfg = config.voidconf.vim;
in {
options.voidcruiser.vim = {
options.voidconf.vim = {
enable = mkEnableOption "Enables opinionated vim configuration";
enableNvim = mkEnableOption "Enables neovim and alias";
setEnvVar = mkOption {

View file

@ -1,8 +1,8 @@
{ config, lib, ... }:
with lib;
let cfg = config.voidcruiser.xconfig;
let cfg = config.voidconf.xconfig;
in {
options.voidcruiser.xconfig = {
options.voidconf.xconfig = {
enable = mkEnableOption "Enables opinionated xorg config";

View file

@ -1,8 +1,8 @@
{ config, lib, ... }:
with lib;
let cfg = config.voidcruiser.zsh;
let cfg = config.voidconf.zsh;
in {
options.voidcruiser.zsh = {
options.voidconf.zsh = {
enable = mkEnableOption "Enables opinionated zsh configuration";
skim.enable = mkEnableOption "Enables skim support for shell history";
highlightStyle = mkOption {