Removes unnecessary files

This commit is contained in:
Vishakh Pradeep Kumar 2025-07-01 11:45:09 +04:00
parent 001db49fb3
commit 3cafb8d415
3 changed files with 0 additions and 169 deletions

97
flake.lock generated
View File

@ -1,97 +0,0 @@
{
"nodes": {
"doom-emacs": {
"flake": false,
"locked": {
"lastModified": 1653613980,
"narHash": "sha256-PWG81Jfcyq21qCrjSsPNK9B9383O/6WmNwVVY9KuRYg=",
"owner": "hlissner",
"repo": "doom-emacs",
"rev": "1b8f46c7c5893d63e4bcebc203c0d28df9f5981b",
"type": "github"
},
"original": {
"owner": "hlissner",
"repo": "doom-emacs",
"type": "github"
}
},
"emacs": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1653852240,
"narHash": "sha256-VmAbVC5s8OgNJ2GoSmdccMTDDRFtezo5sH+R4vcV7r0=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "8d1ee06daa51522db5efd5308d85106197f6ffb0",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "emacs-overlay",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1652776076,
"narHash": "sha256-gzTw/v1vj4dOVbpBSJX4J0DwUR6LIyXo7/SuuTJp1kM=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "04c1b180862888302ddfb2e3ad9eaa63afc60cf8",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_2": {
"locked": {
"lastModified": 1652776076,
"narHash": "sha256-gzTw/v1vj4dOVbpBSJX4J0DwUR6LIyXo7/SuuTJp1kM=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "04c1b180862888302ddfb2e3ad9eaa63afc60cf8",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1653738054,
"narHash": "sha256-IaR8iLN4Ms3f5EjU1CJkXSc49ZzyS5qv03DtVAti6/s=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "17b62c338f2a0862a58bb6951556beecd98ccda9",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"doom-emacs": "doom-emacs",
"emacs": "emacs",
"flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View File

@ -1,29 +0,0 @@
{
description = "Shuarya Singh's Doom-emacs config";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils = {
url = "github:numtide/flake-utils";
inputs.nixpkgs.follows = "nixpkgs";
};
emacs = {
url = "github:nix-community/emacs-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
doom-emacs.url = "github:hlissner/doom-emacs";
doom-emacs.flake = false;
};
outputs = { self, nixpkgs, flake-utils, emacs, doom-emacs }:
flake-utils.lib.simpleFlake {
inherit self nixpkgs;
name = "doom-emacs";
preOverlays = [
emacs.overlay
(final: prev: { doomEmacsRevision = doom-emacs.rev; })
];
shell = ./shell.nix;
systems = [ "aarch64-darwin" ];
};
}

View File

@ -1,43 +0,0 @@
{ pkgs ? import <nixpkgs> {
overlays = [
(import (builtins.fetchTarball {
url = "https://github.com/nix-community/emacs-overlay/archive/master.tar.gz";
}))
];
} }:
with pkgs;
mkShell {
buildInputs = [
# use emacs29
emacsGit
# :completion vertico
(ripgrep.override { withPCRE2 = true; })
sqlite
# :lang org
tectonic
## +gnuplot
gnuplot
## +pandoc
pandoc
## +jupyter
(python39.withPackages(ps: with ps; [jupyter]))
# :checkers spell
(aspellWithDicts (ds: with ds; [ en en-computers en-science ]))
sdcv
# :checkers grammar
languagetool
# :app mu4e
## mu
## isync
];
shellHook = ''
if [ ! -d $HOME/.config/emacs/.git ]; then
mkdir -p $HOME/.config/emacs
git -C $HOME/.config/emacs init
fi
if [ $(git -C $HOME/.config/emacs rev-parse HEAD) != ${pkgs.doomEmacsRevision} ]; then
git -C $HOME/.config/emacs fetch https://github.com/hlissner/doom-emacs.git || true
git -C $HOME/.config/emacs checkout ${pkgs.doomEmacsRevision} || true
fi
'';
}