[feat] Search nixpkgs unstable by default
This commit is contained in:
@@ -9,8 +9,7 @@ let
|
||||
tmux popup -d '#{pane_current_path}' -xC -yC -w$width -h$height -E "tmux attach -t scratch || tmux new -s scratch"
|
||||
fi
|
||||
'';
|
||||
in
|
||||
{
|
||||
in {
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
shell = "${pkgs.nushellFull}/bin/nu";
|
||||
|
||||
@@ -25,8 +25,7 @@
|
||||
};
|
||||
|
||||
extraConfigFiles = {
|
||||
"nixos-options.ron".text =
|
||||
let
|
||||
"nixos-options.ron".text = let
|
||||
nixos-options = pkgs.lib.optionalString device.isNix
|
||||
osConfig.system.build.manual.optionsJSON
|
||||
+ "/share/doc/nixos/options.json";
|
||||
@@ -44,8 +43,7 @@
|
||||
options = builtins.toJSON ({
|
||||
":hm" = [ hm-options ];
|
||||
} // (if device.isNix then { ":nix" = [ nixos-options ]; } else { }));
|
||||
in
|
||||
''
|
||||
in ''
|
||||
Config(
|
||||
options: ${options},
|
||||
max_entries: Some(10),
|
||||
|
||||
Reference in New Issue
Block a user