mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-24 18:19:01 +00:00
treewide: remove options
attribute for modules
This commit is contained in:
parent
881cbd6c8e
commit
c410ece05a
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
networking = {
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
networking = {
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, modulesPath, ... }:
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
let
|
||||
inherit (builtins) toString;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.home.mutableFile;
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Instant setup for using internationalized languages.
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let cfg = config.profiles.i18n;
|
||||
in {
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let cfg = config.profiles.research;
|
||||
in {
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.programs.pop-launcher;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.activitywatch;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.archivebox;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.bleachbit;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.distant;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.gallery-dl;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.matcha;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.plover;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.yt-dlp;
|
||||
|
@ -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 {
|
||||
|
@ -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;
|
||||
|
@ -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 {
|
||||
|
@ -1,5 +1,5 @@
|
||||
# The module for anything dev-related.
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let cfg = config.profiles.dev;
|
||||
in {
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.profiles.vpn;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.programs.blender;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.programs.cardboard-wm;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.programs.kiwmi;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.programs.pop-launcher;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.programs.wezterm;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.archivebox;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.gallery-dl;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.wezterm-mux-server;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.yt-dlp;
|
||||
|
@ -1,5 +1,5 @@
|
||||
# It's a setup for my backup.
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.tasks.backup-archive;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.tasks.multimedia-archive;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }@attrs:
|
||||
{ config, lib, pkgs, ... }@attrs:
|
||||
|
||||
let
|
||||
cfg = config.workflows.workflows.a-happy-gnome;
|
||||
|
@ -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 {
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }@attrs:
|
||||
{ config, lib, pkgs, ... }@attrs:
|
||||
|
||||
let
|
||||
cfg = config.workflows.workflows.mosey-branch;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
dotfilesAsStorePath = config.lib.file.mkOutOfStoreSymlink config.home.mutableFile."library/dotfiles".path;
|
||||
|
Loading…
Reference in New Issue
Block a user