feat: add offline search

This commit is contained in:
Moritz Böhme 2024-11-22 19:47:22 +01:00
parent 707cbcca9e
commit 04407a5726
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
6 changed files with 130 additions and 11 deletions

View file

@ -6,6 +6,7 @@ with lib;
{
options.my.terminal = {
package = mkOption {
description = "Terminal emulator package to use. Gets converted to path of bin automatically.";
type = types.package;
apply = lib.getExe;
};

View file

@ -10,7 +10,7 @@ let
cfg = config.my.programs.python;
pythonVersions = map (version: "3${toString version}") (range 8 13);
pythonVersions = map (version: "3${toString version}") (range 9 13);
enabledVersions = filterAttrs (_: value: value.enable) cfg.versions;
pythonPackages = version: attrNames pkgs."python${version}Packages";

View file

@ -15,10 +15,10 @@ in
enable = mkEnableOption "river";
keyboardLayouts = mkOption {
type = types.listOf types.str;
description = "list of keyboard layouts";
description = "List of keyboard layouts.";
default = [ "us" "de" ];
};
nvidiaSupport = mkEnableOption "nvidiaSupport";
nvidiaSupport = mkEnableOption "nvidia gpu support";
};
config = mkIf cfg.enable {