treewide: remove options attribute for modules

This commit is contained in:
Gabriel Arazas 2023-10-02 14:26:11 +08:00
parent 881cbd6c8e
commit c410ece05a
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
41 changed files with 41 additions and 41 deletions

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
{
networking = {

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
{
networking = {

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, modulesPath, ... }:
{ config, lib, pkgs, modulesPath, ... }:
let
inherit (builtins) toString;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.home.mutableFile;

View File

@ -1,5 +1,5 @@
# Enables all of my usual setup for desktop-oriented stuff.
{ config, options, lib, pkgs, osConfig ? { }, ... }:
{ config, lib, pkgs, osConfig ? { }, ... }:
let cfg = config.profiles.desktop;
in {

View File

@ -1,6 +1,6 @@
# Arsenal for development (which is rare nowadays). ;p
# If you're looking for text editors, go to `./editors.nix`.
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let cfg = config.profiles.dev;
in {

View File

@ -5,7 +5,7 @@
#
# As much as I want 100% reproducibility with Nix, 5% of the remaining stuff
# for me is not worth to maintain.
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let cfg = config.profiles.editors;
in {

View File

@ -1,5 +1,5 @@
# Instant setup for using internationalized languages.
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let cfg = config.profiles.i18n;
in {

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let cfg = config.profiles.research;
in {

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.programs.pop-launcher;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.services.activitywatch;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.services.archivebox;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.services.bleachbit;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.services.distant;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.services.gallery-dl;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.services.matcha;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.services.plover;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.services.yt-dlp;

View File

@ -1,5 +1,5 @@
# All of your embarrassing moments, marked here forever.
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let cfg = config.profiles.archiving;
in {

View File

@ -1,7 +1,7 @@
# Browsers for your enterprise needs (seriously though, they're configured
# differently and typically for "enterprise" use cases in mind and what I mean
# "enterprise" is for all of the users which is me, myself, and I).
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.profiles.browsers;

View File

@ -1,7 +1,7 @@
# This is where extra desktop goodies can be found.
# As a note, this is not where you set the aesthetics of your graphical sessions.
# That can be found in the `themes` module.
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let cfg = config.profiles.desktop;
in {

View File

@ -1,5 +1,5 @@
# The module for anything dev-related.
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let cfg = config.profiles.dev;
in {

View File

@ -6,7 +6,7 @@
# Much of the filesystem setups are taking advantage of systemd's fstab
# extended options which you can refer to at systemd.mount(5), mount(5), and
# the filesystems' respective manual pages.
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.profiles.filesystem;

View File

@ -1,7 +1,7 @@
# System-wide i18n options. This is primarily used for desktop installations.
# Unless there is really good reasons for setting i18n options on the server,
# this module will stay aiming for desktop.
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.profiles.i18n;

View File

@ -1,7 +1,7 @@
# All of the settings related to server systems. Take note they cannot be used
# alongside the desktop profile since there are conflicting configurations
# between them.
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.profiles.server;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.profiles.vpn;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.programs.blender;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.programs.cardboard-wm;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.programs.kiwmi;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.programs.pop-launcher;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.programs.wezterm;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.services.archivebox;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.services.gallery-dl;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.services.wezterm-mux-server;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.services.yt-dlp;

View File

@ -1,5 +1,5 @@
# It's a setup for my backup.
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.tasks.backup-archive;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.tasks.multimedia-archive;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }@attrs:
{ config, lib, pkgs, ... }@attrs:
let
cfg = config.workflows.workflows.a-happy-gnome;

View File

@ -1,7 +1,7 @@
# Themes are your graphical sessions.
# It also contains your aesthetics even specific workflow and whatnots.
# You can also show your desktop being modularized like this.
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let cfg = config.workflows;
in {

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }@attrs:
{ config, lib, pkgs, ... }@attrs:
let
cfg = config.workflows.workflows.mosey-branch;

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
dotfilesAsStorePath = config.lib.file.mkOutOfStoreSymlink config.home.mutableFile."library/dotfiles".path;