From 390ddf448516447af081d1ebe8b2e2aff2555b7c Mon Sep 17 00:00:00 2001 From: sefidel Date: Fri, 9 Sep 2022 21:37:36 +0900 Subject: feat(home/research): declutter --- home/profiles/research/default.nix | 7 +------ packages/athens.nix | 33 --------------------------------- packages/linux.nix | 10 ---------- 3 files changed, 1 insertion(+), 49 deletions(-) delete mode 100644 packages/athens.nix diff --git a/home/profiles/research/default.nix b/home/profiles/research/default.nix index 7f19dd8..a725bed 100644 --- a/home/profiles/research/default.nix +++ b/home/profiles/research/default.nix @@ -1,7 +1,6 @@ { config, lib, pkgs, self, ... }: let cfg = config.profiles.research; - inherit (self.packages.x86_64-linux) athens; in { imports = [ ../../modules/programs/nixpkgs ]; @@ -52,13 +51,9 @@ in }; home.packages = [ - athens pkgs.texlive.combined.scheme-small pkgs.pandoc - pkgs.obsidian - pkgs.google-chrome + pkgs.ltex-ls ]; - - nixpkgs.allowedUnfree = [ "obsidian" "google-chrome" ]; }; } diff --git a/packages/athens.nix b/packages/athens.nix deleted file mode 100644 index 0bf9425..0000000 --- a/packages/athens.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, fetchurl, appimageTools }: - -let - pname = "athens"; - version = "2.0.0-beta.30"; - - src = fetchurl { - url = "https://github.com/athensresearch/athens/releases/download/v${version}/Athens-${version}.AppImage"; - name = "Athens-${version}.AppImage"; - sha256 = "sha256-UIhVh7Ywbrgu6QBBQSsPp4l0ELRR0Jb2vR2VbH5A17U="; - }; - appimageContents = appimageTools.extract { inherit pname version src; }; -in -appimageTools.wrapType2 { - inherit pname version src; - - extraInstallCommands = '' - mv $out/bin/${pname}-${version} $out/bin/${pname} - install -m 444 -D ${appimageContents}/athens.desktop -t $out/share/applications - substituteInPlace $out/share/applications/athens.desktop \ - --replace 'Exec=AppRun' 'Exec=${pname}' - install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/0x0/apps/athens.png \ - -t $out/share/icons/hicolor/512x512/apps - ''; - - meta = with lib; { - description = "Open-source knowledge graph"; - homepage = "https://github.com/athensresearch/athens"; - license = licenses.epl10; - maintainers = with maintainers; [ bbigras ]; - platforms = [ "x86_64-linux" ]; - }; -} diff --git a/packages/linux.nix b/packages/linux.nix index 89cd404..0f6e9ec 100644 --- a/packages/linux.nix +++ b/packages/linux.nix @@ -1,15 +1,5 @@ { self, neovim, ... } @ inputs: -let - pkgs = inputs.unstable.legacyPackages.x86_64-linux; - vscode-lldb = pkgs.vscode-extensions.vadimcn.vscode-lldb; -in - { "neovim" = neovim.packages.x86_64-linux.neovim; - # "codelldb" = pkgs.writeScriptBin "codelldb" '' - # ${vscode-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/adapter/.codelldb-wrapped_ \ - # --liblldb ${vscode-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/lldb/lib/liblldb.so $@ - # ''; - "athens" = pkgs.callPackage ./athens.nix { }; } -- cgit 1.4.1