feat: add offline search
This commit is contained in:
parent
707cbcca9e
commit
04407a5726
6 changed files with 130 additions and 11 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue