we are THIS close now
This commit is contained in:
parent
d77f59657c
commit
fad3683ffa
3 changed files with 106 additions and 122 deletions
93
flake.lock
generated
93
flake.lock
generated
|
|
@ -1,5 +1,26 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"flake-parts": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs-lib": [
|
||||||
|
"nur",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1733312601,
|
||||||
|
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-utils": {
|
"flake-utils": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
|
|
@ -71,12 +92,64 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1756787288,
|
||||||
|
"narHash": "sha256-rw/PHa1cqiePdBxhF66V7R+WAP8WekQ0mCDG4CFqT8Y=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "d0fc30899600b9b3466ddb260fd83deb486c32f1",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_3": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1712449641,
|
||||||
|
"narHash": "sha256-U9DDWMexN6o5Td2DznEgguh8TRIUnIl9levmit43GcI=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "600b15aea1b36eeb43833a50b0e96579147099ff",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixpkgs-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nur": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-parts": "flake-parts",
|
||||||
|
"nixpkgs": "nixpkgs_2"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1756935808,
|
||||||
|
"narHash": "sha256-Kozv7P1kPXC8M1k12Y3kmylLKptlk9G+GiJe5F1V4Xo=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "NUR",
|
||||||
|
"rev": "0951866da58eb749d4a25eb241ab4df65866db70",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"id": "nur",
|
||||||
|
"type": "indirect"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable"
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
|
"nur": "nur",
|
||||||
|
"xonsh-xontrib": "xonsh-xontrib"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
|
|
@ -93,6 +166,24 @@
|
||||||
"repo": "default",
|
"repo": "default",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"xonsh-xontrib": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs_3"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1752512286,
|
||||||
|
"narHash": "sha256-/G535cmjk8nyM/wuOGiqvZxyLet02atFC9QtLUR2HaE=",
|
||||||
|
"owner": "drmikecrowe",
|
||||||
|
"repo": "nur-packages",
|
||||||
|
"rev": "57096c1ad777d00c2bfbc5c2d77a8413bc9b41e2",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "drmikecrowe",
|
||||||
|
"repo": "nur-packages",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
|
||||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
xonsh-xontrib.url = "github:drmikecrowe/nur-packages";
|
||||||
flake-utils = {
|
flake-utils = {
|
||||||
url = "github:numtide/flake-utils";
|
url = "github:numtide/flake-utils";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
@ -14,7 +15,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, nixpkgs-unstable, flake-utils, home-manager, ... }:
|
outputs = { self, nixpkgs, nixpkgs-unstable, nur, flake-utils, xonsh-xontrib, home-manager, ... }:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
|
|
@ -26,6 +27,9 @@
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
flake.setFlakeRegistry = true;
|
flake.setFlakeRegistry = true;
|
||||||
|
overlays = [
|
||||||
|
xonsh-xontrib.overlays
|
||||||
|
];
|
||||||
};
|
};
|
||||||
sharedSpecialArgs = {
|
sharedSpecialArgs = {
|
||||||
inherit pkgs-unstable;
|
inherit pkgs-unstable;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, pkgs-unstable, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
|
|
@ -125,125 +125,14 @@
|
||||||
command-not-found.enable = true;
|
command-not-found.enable = true;
|
||||||
xonsh = {
|
xonsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = ps: [
|
extraPackages = ps: with ps; [
|
||||||
(
|
xonsh.xontribs.xonsh-direnv
|
||||||
ps.buildPythonPackage
|
pkgs-unstable.xonsh-xontrib.xontrib-abbrevs
|
||||||
rec {
|
pkgs-unstable.xonsh-xontrib.xontrib-fzf-completions
|
||||||
name = "xonsh-direnv";
|
pkgs-unstable.xonsh-xontrib.xontrib-fish-completer
|
||||||
version = "1.6.5";
|
pkgs-unstable.xonsh-xontrib.xontrib-clp
|
||||||
src = pkgs.fetchFromGitHub {
|
pkgs-unstable.xonsh-xontrib.xontrib-bashisms
|
||||||
owner = "74th";
|
];
|
||||||
repo = "${name}";
|
|
||||||
rev = "${version}";
|
|
||||||
sha256 = "sha256-huBJ7WknVCk+WgZaXHlL+Y1sqsn6TYqMP29/fsUPSyU=";
|
|
||||||
};
|
|
||||||
meta = {
|
|
||||||
homepage = "https://github.com/74th/xonsh-direnv";
|
|
||||||
description = "direnv for xonsh";
|
|
||||||
license = pkgs.lib.licenses.mit;
|
|
||||||
maintainers = [ ];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
)
|
|
||||||
(
|
|
||||||
ps.buildPythonPackage
|
|
||||||
rec {
|
|
||||||
name = "xontrib-fish-completer";
|
|
||||||
version = "0.0.1";
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "xonsh";
|
|
||||||
repo = "${name}";
|
|
||||||
rev = "${version}";
|
|
||||||
sha256 = "sha256-PhhdZ3iLPDEIG9uDeR5ctJ9zz2+YORHBhbsiLrJckyA=";
|
|
||||||
};
|
|
||||||
meta = {
|
|
||||||
homepage = "https://github.com/xonsh/xontrib-fish-completer";
|
|
||||||
description = "fish completions for xonsh";
|
|
||||||
license = pkgs.lib.licenses.mit;
|
|
||||||
maintainers = [ ];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
)
|
|
||||||
(
|
|
||||||
ps.buildPythonPackage
|
|
||||||
rec {
|
|
||||||
name = "xontrib-fzf-completions";
|
|
||||||
version = "v0.0.2";
|
|
||||||
format = "pyproject";
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "doronz88";
|
|
||||||
repo = "${name}";
|
|
||||||
rev = "${version}";
|
|
||||||
sha256 = "sha256-1z5xHX4Psevn8686QkwIzv/LOJ5IMJc2nQ5Hg/2svTc=";
|
|
||||||
};
|
|
||||||
meta = {
|
|
||||||
homepage = "https://github.com/doronz88/xontrib-fzf-completions";
|
|
||||||
description = "fuzzy completions for xonsh";
|
|
||||||
license = pkgs.lib.licenses.mit;
|
|
||||||
maintainers = [ ];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
)
|
|
||||||
(
|
|
||||||
ps.buildPythonPackage
|
|
||||||
rec {
|
|
||||||
name = "xontrib-clp";
|
|
||||||
version = "0.1.7";
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "anki-code";
|
|
||||||
repo = "${name}";
|
|
||||||
rev = "${version}";
|
|
||||||
sha256 = "sha256-1ewWlwG8KY9s6qydErurvP2x+4DIPTFcjSGP1c5y83M=";
|
|
||||||
};
|
|
||||||
meta = {
|
|
||||||
homepage = "https://github.com/anki-code/xontrib-clp";
|
|
||||||
description = "clipboard completions for xonsh";
|
|
||||||
license = pkgs.lib.licenses.mit;
|
|
||||||
maintainers = [ ];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
)
|
|
||||||
(
|
|
||||||
ps.buildPythonPackage
|
|
||||||
rec {
|
|
||||||
name = "xontrib-abbrevs";
|
|
||||||
version = "v0.1.0";
|
|
||||||
format = "pyproject";
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "xonsh";
|
|
||||||
repo = "${name}";
|
|
||||||
rev = "${version}";
|
|
||||||
sha256 = "sha256-JxH5b2ey99tvHXSUreU5r6fS8nko4RrS/1c8psNbJNc=";
|
|
||||||
};
|
|
||||||
meta = {
|
|
||||||
homepage = "https://github.com/xonsh/xontrib-abbrevs";
|
|
||||||
description = "abbreviation completions for xonsh";
|
|
||||||
license = pkgs.lib.licenses.mit;
|
|
||||||
maintainers = [ ];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
)
|
|
||||||
(
|
|
||||||
ps.buildPythonPackage
|
|
||||||
rec {
|
|
||||||
name = "xontrib-bashisms";
|
|
||||||
version = "0.0.5";
|
|
||||||
format = "pyproject";
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "xonsh";
|
|
||||||
repo = "${name}";
|
|
||||||
rev = "${version}";
|
|
||||||
sha256 = "sha256-R1DCGMrRCJLnz/QMk6QB8ai4nx88vvyPdaCKg3od5/I=";
|
|
||||||
};
|
|
||||||
meta = {
|
|
||||||
homepage = "https://github.com/xonsh/xontrib-bashisms";
|
|
||||||
description = "bashisms for xonsh";
|
|
||||||
license = pkgs.lib.licenses.mit;
|
|
||||||
maintainers = [ ];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
)
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
} #end file
|
} #end file
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue