Remove features
All checks were successful
/ check (push) Successful in 1m21s

This commit is contained in:
Oliver Davies 2025-05-03 16:50:27 +01:00
parent 54954d6223
commit 54b43e4203
58 changed files with 224 additions and 242 deletions

View file

@ -3,10 +3,10 @@
with lib;
let
cfg = config.features.cli.docker;
cfg = config.cli.docker;
in
{
options.features.cli.docker.enable = mkEnableOption "Enable docker";
options.cli.docker.enable = mkEnableOption "Enable docker";
config = mkIf cfg.enable {
virtualisation = {

View file

@ -8,10 +8,10 @@
with lib;
let
cfg = config.features.cli.password-store;
cfg = config.cli.password-store;
in
{
options.features.cli.password-store = {
options.cli.password-store = {
enable = mkEnableOption "Enable pass";
extensions = mkOption {

View file

@ -3,10 +3,10 @@
with lib;
let
cfg = config.features.cli.podman;
cfg = config.cli.podman;
in
{
options.features.cli.podman.enable = mkEnableOption "Enable podman";
options.cli.podman.enable = mkEnableOption "Enable podman";
config = mkIf cfg.enable {
virtualisation = {

View file

@ -3,10 +3,10 @@
with lib;
let
cfg = config.features.core.bluetooth;
cfg = config.core.bluetooth;
in
{
options.features.core.bluetooth.enable = mkEnableOption "Enable bluetooth";
options.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.features.core.openssh;
cfg = config.core.openssh;
in
{
options.features.core.openssh.enable = mkEnableOption "Enable openssh";
options.core.openssh.enable = mkEnableOption "Enable openssh";
config = mkIf cfg.enable {
services.openssh = {

View file

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

View file

@ -3,10 +3,10 @@
with lib;
let
cfg = config.features.core.xbanish;
cfg = config.core.xbanish;
in
{
options.features.core.xbanish.enable = mkEnableOption "Enable xbanish";
options.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.features.core.zram;
cfg = config.core.zram;
in
{
options.features.core.zram.enable = mkEnableOption "Enable zram";
options.core.zram.enable = mkEnableOption "Enable zram";
config = mkIf cfg.enable {
zramSwap = {

View file

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

View file

@ -8,10 +8,10 @@
with lib;
let
cfg = config.features.desktop.dwm;
cfg = config.desktop.dwm;
in
{
options.features.desktop.dwm.enable = mkEnableOption "Enable dwm";
options.desktop.dwm.enable = mkEnableOption "Enable dwm";
config = mkIf cfg.enable {
services = {

View file

@ -8,10 +8,10 @@
with lib;
let
cfg = config.features.desktop.fonts;
cfg = config.desktop.fonts;
in
{
options.features.desktop.fonts.enable = mkEnableOption "Enable fonts";
options.desktop.fonts.enable = mkEnableOption "Enable fonts";
config = mkIf cfg.enable {
fonts = {

View file

@ -3,10 +3,10 @@
with lib;
let
cfg = config.features.desktop.media.makemkv;
cfg = config.desktop.media.makemkv;
in
{
options.features.desktop.media.makemkv.enable = mkEnableOption "Enable makemkv";
options.desktop.media.makemkv.enable = mkEnableOption "Enable makemkv";
config = mkIf cfg.enable {
boot.kernelModules = [ "sg" ];

View file

@ -8,10 +8,10 @@
with lib;
let
cfg = config.features.desktop.st;
cfg = config.desktop.st;
in
{
options.features.desktop.st.enable = mkEnableOption "Enable st";
options.desktop.st.enable = mkEnableOption "Enable st";
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [

View file

@ -8,10 +8,10 @@
with lib;
let
cfg = config.features.desktop.thunar;
cfg = config.desktop.thunar;
in
{
options.features.desktop.thunar.enable = mkEnableOption "Enable thunar";
options.desktop.thunar.enable = mkEnableOption "Enable thunar";
config = mkIf cfg.enable {
programs.thunar = {

View file

@ -10,11 +10,11 @@ with lib;
let
cfg = homelab.services.${service};
homelab = config.features.homelab;
homelab = config.homelab;
service = "gitea-actions-runner";
in
{
options.features.homelab.services.${service} = {
options.homelab.services.${service} = {
enable = mkEnableOption "Enable ${service}";
};