Remove xonsh

This commit is contained in:
Artemis Tosini 2024-09-02 17:05:25 +00:00
parent d3707ecf0d
commit 585dceef77
Signed by: artemist
GPG key ID: EE5227935FE3FF18
2 changed files with 2 additions and 41 deletions

View file

@ -10,7 +10,6 @@
inputs.lix-module.nixosModules.default
inputs.private.nixosModules.base
inputs.private.nixosModules.substituter
./xonsh.nix
];
nix = {
@ -51,6 +50,8 @@
"uhk-udev-rules"
"unrar"
]);
# oh god, i guess i only use matrix for public stuff though
config.permittedInsecurePackages = [ "olm-3.2.16" ];
};
console = {

View file

@ -1,40 +0,0 @@
{ pkgs, ... }:
let
xonsh-direnv =
ps:
ps.buildPythonPackage rec {
pname = "xonsh-direnv";
version = "1.6.1";
src = pkgs.fetchPypi {
inherit pname version;
hash = "sha256-Nt8Da1EtMVWZ9mbBDjys7HDutLYifwoQ1HVmI5CN2Ww=";
};
};
xontrib-fish-completer =
ps:
ps.buildPythonPackage rec {
pname = "xontrib-fish-completer";
version = "0.0.1";
src = pkgs.fetchPypi {
inherit pname version;
hash = "sha256-Kr1iolx6DxqgxVNtXwwfggkLrbH9BlilGAYZahvR+3Y=";
};
patchPhase = "sed -i -e 's/^dependencies.*$/dependencies = []/' pyproject.toml";
};
in
{
programs.xonsh = {
enable = true;
config = ''
$UPDATE_OS_ENVIRON = True
xontrib load direnv fish_completer
'';
package = pkgs.xonsh.wrapper.override {
extraPackages = ps: [
(xonsh-direnv ps)
(xontrib-fish-completer ps)
];
};
};
}