temperance/programs.nix: add pwvucontrol
This commit is contained in:
parent
d641b24e13
commit
3117aaa340
2 changed files with 39 additions and 1 deletions
|
@ -53,18 +53,21 @@
|
||||||
polkit
|
polkit
|
||||||
prismlauncher
|
prismlauncher
|
||||||
pulsemixer
|
pulsemixer
|
||||||
pavucontrol
|
|
||||||
python3
|
python3
|
||||||
|
pwvucontrol
|
||||||
qbittorrent
|
qbittorrent
|
||||||
|
qutebrowser
|
||||||
r2modman
|
r2modman
|
||||||
ripgrep
|
ripgrep
|
||||||
signal-desktop-beta
|
signal-desktop-beta
|
||||||
smartmontools
|
smartmontools
|
||||||
|
strawberry
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
tldr
|
tldr
|
||||||
thunderbird
|
thunderbird
|
||||||
tor-browser
|
tor-browser
|
||||||
trash-cli
|
trash-cli
|
||||||
|
ungoogled-chromium
|
||||||
util-linux
|
util-linux
|
||||||
v4l-utils
|
v4l-utils
|
||||||
vlc
|
vlc
|
||||||
|
|
35
modules/options/meta/module.nix
Normal file
35
modules/options/meta/module.nix
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (builtins) elemAt;
|
||||||
|
inherit (lib) options types;
|
||||||
|
inherit (options) mkOption;
|
||||||
|
inherit (types) listOf str;
|
||||||
|
in {
|
||||||
|
options.meta = {
|
||||||
|
users = mkOption {
|
||||||
|
type = listOf str;
|
||||||
|
default = ["cr"];
|
||||||
|
description = ''
|
||||||
|
A list of users on a system.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
mainUser = {
|
||||||
|
username = mkOption {
|
||||||
|
type = str;
|
||||||
|
default = elemAt config.meta.users 0;
|
||||||
|
description = ''
|
||||||
|
The main user for each system. This is the first element of the list of users by default.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
gitSigningKey = mkOption {
|
||||||
|
type = str;
|
||||||
|
description = ''
|
||||||
|
The main user's git signing key, used to automatically sing git commits with this key
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue