mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
modules: update comments and description
This commit is contained in:
parent
ae3541aeb2
commit
456ca00636
@ -9,7 +9,7 @@
|
|||||||
description = ''
|
description = ''
|
||||||
A set of [disko](https://github.com/nix-community/disko)
|
A set of [disko](https://github.com/nix-community/disko)
|
||||||
configurations readily available as part of the flake output to be
|
configurations readily available as part of the flake output to be
|
||||||
used by {program}`disko`. Could be useful as backup initialization
|
used by {command}`disko`. Could be useful as backup initialization
|
||||||
scripts for individual storage drives.
|
scripts for individual storage drives.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
# Declarative NixVim configurations because everything under the Nix ecosystem
|
||||||
|
# must be so declarative so we're setting up declarative ways of declaring
|
||||||
|
# those accursed setups to be exported in this flake.
|
||||||
{ inputs
|
{ inputs
|
||||||
, lib
|
, lib
|
||||||
, config
|
, config
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
./ports.nix
|
./ports.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# We can basically dump everything that is supposed to hold values for the
|
||||||
|
# entire system. This entry module should contain NOTHING ELSE!
|
||||||
options.state = lib.mkOption {
|
options.state = lib.mkOption {
|
||||||
type = lib.types.submodule {
|
type = lib.types.submodule {
|
||||||
freeformType = with lib.types; attrsOf anything;
|
freeformType = with lib.types; attrsOf anything;
|
||||||
@ -17,14 +19,16 @@
|
|||||||
source of truth for different parts (e.g., services, program) of the
|
source of truth for different parts (e.g., services, program) of the
|
||||||
system.
|
system.
|
||||||
'';
|
'';
|
||||||
example = {
|
example = lib.literalExpression ''
|
||||||
services = {
|
{
|
||||||
postgresql.directory = "/var/lib/postgresql";
|
services = {
|
||||||
backup.ignoreDirectories = [
|
postgresql.directory = "/var/lib/postgresql";
|
||||||
"node_modules"
|
backup.ignoreDirectories = [
|
||||||
".direnv"
|
"node_modules"
|
||||||
];
|
".direnv"
|
||||||
};
|
];
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -151,6 +151,9 @@ in
|
|||||||
curl
|
curl
|
||||||
yt-dlp
|
yt-dlp
|
||||||
] ++ lib.optional config.programs.git.enable config.programs.git.package;
|
] ++ lib.optional config.programs.git.enable config.programs.git.package;
|
||||||
|
defaultText = ''
|
||||||
|
Chromium, NodeJS, wget, yt-dlp, and git if enabled.
|
||||||
|
'';
|
||||||
example = lib.literalExpression ''
|
example = lib.literalExpression ''
|
||||||
with pkgs; [
|
with pkgs; [
|
||||||
curl
|
curl
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ config, lib, options, pkgs, ... }:
|
{ config, lib, options, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.xdg.mime;
|
cfg = config.xdg.mime;
|
||||||
|
@ -63,7 +63,7 @@ let
|
|||||||
description = if isGlobal then ''
|
description = if isGlobal then ''
|
||||||
Global list of arguments to be appended to each Boxxy-enabled wrappers.
|
Global list of arguments to be appended to each Boxxy-enabled wrappers.
|
||||||
'' else ''
|
'' else ''
|
||||||
List of arguments to the {program}`boxxy` executable.
|
List of arguments to the {command}`boxxy` executable.
|
||||||
'';
|
'';
|
||||||
default = [ ];
|
default = [ ];
|
||||||
example = [ "--immutable" "--daemon" ];
|
example = [ "--immutable" "--daemon" ];
|
||||||
|
@ -65,7 +65,7 @@ in
|
|||||||
type = with lib.types; attrsOf (submodule dbusFilterType);
|
type = with lib.types; attrsOf (submodule dbusFilterType);
|
||||||
description = ''
|
description = ''
|
||||||
A global set of D-Bus addresses with their policies set with
|
A global set of D-Bus addresses with their policies set with
|
||||||
{program}`xdg-dbus-proxy` for each D-Bus address specified on the
|
{command}`xdg-dbus-proxy` for each D-Bus address specified on the
|
||||||
Bubblewrap-enabled wrappers. See {manpage}`xdg-dbus-proxy(1)` for
|
Bubblewrap-enabled wrappers. See {manpage}`xdg-dbus-proxy(1)` for
|
||||||
more details.
|
more details.
|
||||||
'';
|
'';
|
||||||
@ -102,7 +102,7 @@ in
|
|||||||
type = with lib.types; listOf str;
|
type = with lib.types; listOf str;
|
||||||
description = ''
|
description = ''
|
||||||
List of proxy-specific arguments to be passed to
|
List of proxy-specific arguments to be passed to
|
||||||
{program}`xdg-dbus-proxy`.
|
{command}`xdg-dbus-proxy`.
|
||||||
'';
|
'';
|
||||||
default = [ ];
|
default = [ ];
|
||||||
};
|
};
|
||||||
@ -131,7 +131,7 @@ in
|
|||||||
extraArgs = lib.mkOption {
|
extraArgs = lib.mkOption {
|
||||||
type = with lib.types; listOf str;
|
type = with lib.types; listOf str;
|
||||||
description = ''
|
description = ''
|
||||||
List of arguments to be passed to {program}`xdg-dbus-proxy`.
|
List of arguments to be passed to {command}`xdg-dbus-proxy`.
|
||||||
'';
|
'';
|
||||||
default = [ ];
|
default = [ ];
|
||||||
};
|
};
|
||||||
@ -140,7 +140,7 @@ in
|
|||||||
type = with lib.types; attrsOf (submodule addressesModule);
|
type = with lib.types; attrsOf (submodule addressesModule);
|
||||||
description = ''
|
description = ''
|
||||||
A set of addresses to be applied with the filter through
|
A set of addresses to be applied with the filter through
|
||||||
{program}`xdg-dbus-proxy`.
|
{command}`xdg-dbus-proxy`.
|
||||||
'';
|
'';
|
||||||
default = { };
|
default = { };
|
||||||
example = {
|
example = {
|
||||||
|
Loading…
Reference in New Issue
Block a user