cleanup: remove unecessary arguments from nix config

This commit is contained in:
colin 2022-06-05 23:44:01 -07:00
parent d737acd2eb
commit 8ef29966b3
24 changed files with 24 additions and 24 deletions

View File

@ -8,7 +8,7 @@
# nix-option ## query options -- including their SET VALUE; similar to search: https://search.nixos.org/options
# nixos-rebuild switch --upgrade ## pull changes from the nixos channel (e.g. security updates) and rebuild
{ config, pkgs, ... }:
{ pkgs, ... }:
{

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ lib, ... }:
{
# start gnome/gdm on boot

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ ... }:
{
# start plasma-mobile on boot

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ pkgs, ... }:
{
boot.initrd.availableKernelModules = [

View File

@ -1,4 +1,4 @@
{ home-manager, config, pkgs, ... }:
{ home-manager, ... }:
{
imports = [
home-manager.nixosModule

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ pkgs, lib, ... }:
# installer docs: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/installation-device.nix
{

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ pkgs, lib, ... }:
{
imports = [
./../../helpers/universal

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ lib, ... }:
{
fileSystems."/" = lib.mkDefault {

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ pkgs, lib, ... }:
{
imports = [
./../../helpers/universal

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ lib, ... }:
{
fileSystems."/" = lib.mkDefault {

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ pkgs, lib, ... }:
{
imports = [
./../../helpers/universal

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ lib, ... }:
{
fileSystems."/" = lib.mkDefault {

View File

@ -1,6 +1,6 @@
# this file originates from nixos-generate-config
# but has been heavily modified
{ config, lib, pkgs, modulesPath, ... }:
{ pkgs, ... }:
{
# enables non-free firmware

View File

@ -1,4 +1,4 @@
{ config, pkgs, secrets, ... }:
{ pkgs, secrets, ... }:
{
networking.domain = "uninsane.org";

View File

@ -1,5 +1,5 @@
# docs: https://search.nixos.org/options?channel=21.11&query=duplicity
{ config, pkgs, lib, secrets, ... }:
{ secrets, ... }:
{
services.duplicity.enable = true;

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ pkgs, lib, ... }:
{
services.gitea.enable = true;

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ ... }:
{
services.jackett.enable = true;

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ ... }:
{
services.jellyfin.enable = true;

View File

@ -1,6 +1,6 @@
# docs: https://nixos.wiki/wiki/Matrix
# docs: https://nixos.org/manual/nixos/stable/index.html#module-services-matrix-synapse
{ config, pkgs, lib, secrets, ... }:
{ secrets, ... }:
{
services.matrix-synapse.enable = true;

View File

@ -1,7 +1,7 @@
# docs: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/networking/pleroma.nix
#
# to run it in a oci-container: https://github.com/barrucadu/nixfiles/blob/master/services/pleroma.nix
{ config, pkgs, lib, secrets, ... }:
{ pkgs, secrets, ... }:
{
services.pleroma.enable = true;

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, secrets, ... }:
{ lib, secrets, ... }:
let
submissionOptions = {

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ ... }:
{
services.postgresql.enable = true;

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ ... }:
{
services.transmission.enable = true;

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ ... }:
# installer docs: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/installation-device.nix
{