Move yt-dlp configuration from g extension

This commit is contained in:
Geoffrey Frogeye 2023-11-30 21:51:11 +01:00
parent 88d087c3ce
commit 050901da2f
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
2 changed files with 17 additions and 1 deletions

View file

@ -5,6 +5,11 @@
desktop = {
xorg = lib.mkEnableOption "Enable X11 support";
nixGLIntel = lib.mkEnableOption "Enable nixGLIntel/nixVulkanIntel for windows manager";
maxVideoHeight = lib.mkOption {
type = lib.types.int;
description = "Maximum video height in pixel the machine can reasonably watch";
default = 1080;
};
};
dev = {
ansible = lib.mkEnableOption "Ansible dev stuff";
@ -16,6 +21,7 @@
dotfiles = {
path = lib.mkOption {
type = lib.types.str;
description = "Absolute path to the present dotfiles directory";
# default = "${config.home.homeDirectory}/.config/dotfiles";
# FIXME Above doesn't work outside home-manager context
default = "/home/geoffrey/.config/dotfiles";