mirror of
https://github.com/zoriya/flake.git
synced 2026-08-15 18:43:42 +00:00
Fix license warning in nix shell
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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
@@ -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"];
|
||||
|
||||
Reference in New Issue
Block a user