Compare commits
No commits in common. "da888358303afac2410916dc5c876cb35dac5c3a" and "6c02c01db6a224999e2246b11a3e4dd09b5050c8" have entirely different histories.
da88835830
...
6c02c01db6
4 changed files with 25 additions and 14 deletions
|
@ -1,10 +1,23 @@
|
|||
{ inputs, ... }:
|
||||
{
|
||||
# Add unstable packages to overlay
|
||||
flake.overlays.unstable = final: prev: {
|
||||
unstable = inputs.unstable.legacyPackages.${prev.stdenv.hostPlatform.system};
|
||||
flake.overlays.unstable =
|
||||
final: prev:
|
||||
let
|
||||
unstablePkgs = inputs.unstable.legacyPackages.${prev.stdenv.hostPlatform.system};
|
||||
in
|
||||
{
|
||||
# Get unstable packages
|
||||
unstable = unstablePkgs;
|
||||
|
||||
# use unstable vimPlugins
|
||||
vimPlugins = prev.vimPlugins // final.unstable.vimPlugins;
|
||||
# Update vim plugins with the versions from unstable
|
||||
vimPlugins = prev.vimPlugins // unstablePkgs.vimPlugins;
|
||||
|
||||
# Get specific packages from unstable
|
||||
inherit (unstablePkgs)
|
||||
gitoxide
|
||||
jujutsu
|
||||
;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
12
flake.lock
generated
12
flake.lock
generated
|
@ -281,11 +281,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1737885640,
|
||||
"narHash": "sha256-GFzPxJzTd1rPIVD4IW+GwJlyGwBDV1Tj5FLYwDQQ9sM=",
|
||||
"lastModified": 1737672001,
|
||||
"narHash": "sha256-YnHJJ19wqmibLQdUeq9xzE6CjrMA568KN/lFPuSVs4I=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "4e96537f163fad24ed9eb317798a79afc85b51b7",
|
||||
"rev": "035f8c0853c2977b24ffc4d0a42c74f00b182cd8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -316,11 +316,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1737995534,
|
||||
"narHash": "sha256-in2EtlH84FJ5+7l2vBWhUiknmDFAHTuHIPSBiMhICyw=",
|
||||
"lastModified": 1737914312,
|
||||
"narHash": "sha256-PBF4R+yQt5Sls7CsA9Miwx28XtOP/yqaqejZ3RKSes0=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"rev": "af4483c025ecf02ba36b2013eed0062ccd629809",
|
||||
"rev": "8e5422bf3e76f410b97d2da640d0829e87657de9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -118,7 +118,7 @@ in
|
|||
packages = [
|
||||
pkgs.gopass
|
||||
pkgs.sshfs
|
||||
pkgs.unstable.gitoxide
|
||||
pkgs.gitoxide
|
||||
];
|
||||
# Extra variables
|
||||
sessionVariables = {
|
||||
|
@ -196,7 +196,6 @@ in
|
|||
# Jujutsu (alternative DVCS (git-compatible))
|
||||
jujutsu = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.jujutsu;
|
||||
settings = {
|
||||
ui.pager = "bat";
|
||||
# mimic git commit --verbose by adding a diff
|
||||
|
|
|
@ -9,7 +9,6 @@ in
|
|||
(import ./standalone.nix)
|
||||
(lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
nixpkgs.useGlobalPackages = true;
|
||||
defaultEditor = lib.mkDefault true;
|
||||
jhome.nvim = cfg;
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue