neovim update, deadnix code cleanup

This commit is contained in:
ISnortPennies 2023-02-07 22:55:32 -05:00
parent 73edf49559
commit 671344992f
10 changed files with 18 additions and 53 deletions

12
flake.lock generated
View file

@ -53,11 +53,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1675545634, "lastModified": 1675673983,
"narHash": "sha256-TbQeQcM5TA/wIho6xtzG+inUfiGzUXi8ewwttiQWYJE=", "narHash": "sha256-8hzNh1jtiPxL5r3ICNzSmpSzV7kGb3KwX+FS5BWJUTo=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "0591d6b57bfeb55dfeec99a671843337bc2c3323", "rev": "5a350a8f31bb7ef0c6e79aea3795a890cf7743d4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -75,11 +75,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1675536108, "lastModified": 1675828160,
"narHash": "sha256-HjWJ7HF77U32QLsRWZGrrZXW3lnq7iYPZ6as+Je5dwQ=", "narHash": "sha256-xnc5NG/YSFiz/d1SFq6r3DlXgHGqpk1yGXTFpvyDFME=",
"owner": "Gerg-L", "owner": "Gerg-L",
"repo": "nvim-config", "repo": "nvim-config",
"rev": "cda439a36bf6677fe4c8ebddf7e59e2df2742059", "rev": "3ad02f2b90d9928b4a245dac08243b698744c957",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,24 +1,24 @@
{ {
inputs = { inputs = {
nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
spicetify-nix = { spicetify-nix = {
url = github:the-argus/spicetify-nix; url = "github:the-argus/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
suckless = { suckless = {
url = github:Gerg-L/suckless; url = "github:Gerg-L/suckless";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nvim-config = { nvim-config = {
url = github:Gerg-L/nvim-config; url = "github:Gerg-L/nvim-config";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
sxhkd-flake = { sxhkd-flake = {
url = github:Gerg-L/sxhkd-flake; url = "github:Gerg-L/sxhkd-flake";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
fetch-rs = { fetch-rs = {
url = github:Gerg-L/fetch-rs; url = "github:Gerg-L/fetch-rs";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };
@ -33,7 +33,7 @@
inherit system; inherit system;
config.allowUnfree = true; config.allowUnfree = true;
overlays = [ overlays = [
(final: prev: rec { (final: _: {
t-rex-miner = final.callPackage ./pkgs/t-rex-miner {}; t-rex-miner = final.callPackage ./pkgs/t-rex-miner {};
afk-cmds = final.callPackage ./pkgs/afk-cmds {}; afk-cmds = final.callPackage ./pkgs/afk-cmds {};
parrot = final.callPackage ./pkgs/parrot {}; parrot = final.callPackage ./pkgs/parrot {};

View file

@ -1,4 +1,4 @@
{pkgs, ...}: { {
environment.etc = { environment.etc = {
"issue" = { "issue" = {
text = "[?12l[?25h"; text = "[?12l[?25h";

View file

@ -1,8 +1,4 @@
{ {pkgs, ...}: {
pkgs,
inputs,
...
}: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
heroic heroic
legendary-gl legendary-gl

View file

@ -1,4 +1,4 @@
{pkgs, ...}: { {
hardware.nvidia = { hardware.nvidia = {
prime = { prime = {
offload.enable = true; offload.enable = true;

View file

@ -1,8 +1,4 @@
{ {pkgs, ...}: rec {
pkgs,
lib,
...
}: rec {
environment = { environment = {
systemPackages = with pkgs; [ systemPackages = with pkgs; [
dash dash

View file

@ -1,7 +1,6 @@
{ {
inputs, inputs,
lib, lib,
config,
self, self,
... ...
}: { }: {

View file

@ -1,7 +1,6 @@
{ {
lib, lib,
rustPlatform, rustPlatform,
fetchFromGitHub,
wrapGAppsHook, wrapGAppsHook,
libX11, libX11,
libXScrnSaver, libXScrnSaver,
@ -44,12 +43,4 @@ rustPlatform.buildRustPackage rec {
cp $src/afk-icon.png $out/share/icons/hicolor/256x256/apps/afk-icon.png cp $src/afk-icon.png $out/share/icons/hicolor/256x256/apps/afk-icon.png
''; '';
cargoSha256 = "sha256-CPpFUdgb0zTZAVlv4uhJ0Y7eocCjuEZNgQJdNwV1FI4="; cargoSha256 = "sha256-CPpFUdgb0zTZAVlv4uhJ0Y7eocCjuEZNgQJdNwV1FI4=";
meta = with lib; {
homepage = "https://github.com/ISnortPennies/AFKCommands";
description = "";
license = licenses.unlicense;
maintainers = with maintainers; [];
platforms = platforms.linux;
};
} }

View file

@ -1,5 +1,4 @@
{ {
lib,
rustPlatform, rustPlatform,
fetchFromGitHub, fetchFromGitHub,
pkg-config, pkg-config,
@ -8,7 +7,7 @@
libopus, libopus,
}: }:
# yt-dlp and ffmpeg required at runtime # yt-dlp and ffmpeg required at runtime
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage {
pname = "parrot"; pname = "parrot";
version = "1.5.1"; version = "1.5.1";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -30,12 +29,4 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-qPyuj5OxHrWz0YbrquCTTKZM3j1poXuioNNvn9z+xDQ="; cargoSha256 = "sha256-qPyuj5OxHrWz0YbrquCTTKZM3j1poXuioNNvn9z+xDQ=";
RUSTC_BOOTSTRAP = 1; RUSTC_BOOTSTRAP = 1;
meta = with lib; {
homepage = "https://github.com/aquelemiguel/parrot";
description = "";
license = licenses.mit;
maintainers = with maintainers; [];
platforms = platforms.linux;
};
} }

View file

@ -26,12 +26,4 @@ in
echo "${wrapper}" > $out/bin/t-rex echo "${wrapper}" > $out/bin/t-rex
chmod +x $out/bin/t-rex chmod +x $out/bin/t-rex
''; '';
meta = with lib; {
homepage = "https://github.com/ISnortPennies/AFKCommands";
description = "";
license = licenses.unlicense;
maintainers = with maintainers; [];
platforms = platforms.linux;
};
} }