Fix license warning in nix shell

This commit is contained in:
2026-07-14 14:40:24 +02:00
parent 35e13dfb71
commit 4902dfd101
3 changed files with 14 additions and 12 deletions
+2 -2
View File
@@ -147,7 +147,7 @@
packages = eachSystem (system: let
pkgs = import nixpkgs {
inherit system;
overlays = [nvim-overlay];
overlays = [(import ./overlays inputs) nvim-overlay];
};
in rec {
default = nvim;
@@ -157,7 +157,7 @@
devShells = eachSystem (system: let
pkgs = import nixpkgs {
inherit system;
overlays = [nvim-overlay];
overlays = [(import ./overlays inputs) nvim-overlay];
};
in rec {
default = pkgs.mkShell {
+1
View File
@@ -92,6 +92,7 @@
# Global instructions
- NEVER EVER commit. Do not run `git commit` (or `jj commit`) and never push changes under any circumstances unless the user explicitly asks you to commit in that message.
- when fetching github content/pr/issues/wha, use the `gh` cli.
'';
xdg.configFile."claude/keybindings.json".text = builtins.toJSON {
+11 -10
View File
@@ -26,16 +26,17 @@ in {
# Gnome-control-center can only be launched if XDG_CURRENT_DESKTOP is GNOME.
gnome-control-center = wrapProgram super.gnome-control-center ["gnome-control-center"] "--set XDG_CURRENT_DESKTOP GNOME";
# i can't get this to work /shrug
# slack = super.symlinkJoin {
# name = super.slack.name;
# paths = [super.slack];
# buildInputs = [super.makeWrapper];
# postBuild = ''
# wrapProgram $out/bin/slack --add-flags "--disable-smooth-scrolling"
# substituteInPlace ${super.slack}/share/applications/slack.desktop --replace ${super.slack} $out
# '';
# };
# Some nvim plugins ship without a license, so nixpkgs marks them unfree.
vimPlugins =
super.vimPlugins
// super.lib.genAttrs [
"unclash-nvim"
"vim-wordmotion"
] (name:
super.vimPlugins.${name}.overrideAttrs (old: {
meta = old.meta // {license = super.lib.licenses.mit;};
}));
discord = enableWayland super.discord ["discord" "Discord"];
vesktop = enableWayland super.vesktop ["vesktop"];
pear-desktop = enableWayland super.pear-desktop ["pear-desktop"];