Compare commits

..

3 commits

Author SHA1 Message Date
Emmet c13de110dc Trying smartcalc instead of octave 2024-02-04 10:30:47 -06:00
Emmet 82795ffb89 Updated nix-doom-emacs (kinda) 2024-02-04 09:36:13 -06:00
Emmet 837c6bdeda Missing quote breaks entire emacs config 2024-02-03 18:37:20 -06:00
6 changed files with 60 additions and 37 deletions

View file

@ -514,8 +514,12 @@
"flake-compat": "flake-compat",
"flake-utils": "flake-utils",
"format-all": "format-all",
"nix-straight": "nix-straight",
"nixpkgs": "nixpkgs",
"nix-straight": [
"nix-straight"
],
"nixpkgs": [
"nixpkgs"
],
"nose": "nose",
"ob-racket": "ob-racket",
"org": "org",
@ -529,16 +533,15 @@
"ws-butler": "ws-butler"
},
"locked": {
"lastModified": 1692036829,
"narHash": "sha256-C7VR/g4d8kUvbedqHi5gOKnMTAhti1ZlRkcWbHso/BA=",
"owner": "librephoenix",
"lastModified": 1701264882,
"narHash": "sha256-MBXR7x7Ua8qystlGr+lenwjQd7dsFNFpEFmtHhh10zM=",
"owner": "nix-community",
"repo": "nix-doom-emacs",
"rev": "66f75fae616d8e36c901bbb594225d1c630fbceb",
"rev": "f7413022370f24bb53cb450bfb2803233510113e",
"type": "github"
},
"original": {
"owner": "librephoenix",
"ref": "pgtk-patch",
"owner": "nix-community",
"repo": "nix-doom-emacs",
"type": "github"
}
@ -562,16 +565,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1682566018,
"narHash": "sha256-HPzPRFiy2o/7k7mtnwfM1E6NVZHiFbPdmYCMoIpkHO4=",
"lastModified": 1706732774,
"narHash": "sha256-hqJlyJk4MRpcItGYMF+3uHe8HvxNETWvlGtLuVpqLU0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8e3b64db39f2aaa14b35ee5376bd6a2e707cadc2",
"rev": "b8b232ae7b8b144397fdb12d20f592e5e7c1a64d",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixpkgs-unstable",
"ref": "nixos-unstable",
"type": "indirect"
}
},
@ -591,21 +594,6 @@
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1706732774,
"narHash": "sha256-hqJlyJk4MRpcItGYMF+3uHe8HvxNETWvlGtLuVpqLU0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b8b232ae7b8b144397fdb12d20f592e5e7c1a64d",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-unstable",
"type": "indirect"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1706487304,
"narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=",
@ -621,7 +609,7 @@
"type": "github"
}
},
"nixpkgs_4": {
"nixpkgs_3": {
"locked": {
"lastModified": 1700856099,
"narHash": "sha256-RnEA7iJ36Ay9jI0WwP+/y4zjEhmeN6Cjs9VOFBH7eVQ=",
@ -837,7 +825,8 @@
"home-manager": "home-manager",
"hyprland-plugins": "hyprland-plugins",
"nix-doom-emacs": "nix-doom-emacs",
"nixpkgs": "nixpkgs_2",
"nix-straight": "nix-straight",
"nixpkgs": "nixpkgs",
"nixpkgs-stable": "nixpkgs-stable",
"org-nursery": "org-nursery",
"org-side-tree": "org-side-tree",
@ -867,7 +856,7 @@
"rust-overlay": {
"inputs": {
"flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs_3"
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1706926144,
@ -912,7 +901,7 @@
"base16-vim": "base16-vim",
"flake-compat": "flake-compat_2",
"home-manager": "home-manager_2",
"nixpkgs": "nixpkgs_4"
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1706783767,

View file

@ -1,8 +1,8 @@
{
description = "Flake of LibrePhoenix";
outputs = { self, nixpkgs, nixpkgs-stable, home-manager, nix-doom-emacs, stylix,
blocklist-hosts, rust-overlay, hyprland-plugins,
outputs = { self, nixpkgs, nixpkgs-stable, home-manager, nix-doom-emacs, nix-straight,
stylix, blocklist-hosts, rust-overlay, hyprland-plugins,
eaf, eaf-browser, org-nursery, org-yaap,
org-side-tree, org-timeblock, phscroll, ... }@inputs:
let
@ -116,7 +116,13 @@
home-manager.url = "github:nix-community/home-manager/master";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
nix-doom-emacs.url = "github:librephoenix/nix-doom-emacs?ref=pgtk-patch";
nix-doom-emacs.url = "github:nix-community/nix-doom-emacs";
nix-doom-emacs.inputs.nixpkgs.follows = "nixpkgs";
nix-straight.url = "github:librephoenix/nix-straight.el/pgtk-patch";
nix-straight.flake = false;
nix-doom-emacs.inputs.nix-straight.follows = "nix-straight";
eaf = {
url = "github:emacs-eaf/emacs-application-framework";
flake = false;

View file

@ -703,7 +703,7 @@ same directory as the org-buffer and insert a link to this file."
)
(defun org-current-buffer-has-todos ()
"Return non-nil if current buffer has any todo entry.
"Return non-nil if current buffer has any todo entry."
(org-element-map ; (2)
(org-element-parse-buffer 'headline) ; (1)

View file

@ -834,7 +834,7 @@ exit
)
(defun org-current-buffer-has-todos ()
"Return non-nil if current buffer has any todo entry.
"Return non-nil if current buffer has any todo entry."
(org-element-map ; (2)
(org-element-parse-buffer 'headline) ; (1)

27
user/pkgs/smartcalc.nix Normal file
View file

@ -0,0 +1,27 @@
{ lib, pkgs, ... }:
let
rustPlatform = pkgs.makeRustPlatform {
cargo = pkgs.rust-bin.stable.latest.minimal;
rustc = pkgs.rust-bin.stable.latest.minimal;
};
in
rustPlatform.buildRustPackage rec {
pname = "smartcalc-tui";
version = "1.0.7";
src = fetchTarball {
url = "https://github.com/superhawk610/smartcalc-tui/archive/refs/tags/v1.0.7.tar.gz";
sha256 = "1dv24rsj87avpbrmab0hy3v729fdqh1cfbvl1xsjmfn8y35z4m5m";
};
cargoSha256 = "sha256-0AWsJccfzkUkpB6imibN6iUNDEx3vrX9kEgD98nXURw=";
checkType = "debug";
meta = with lib; {
description = "Terminal UI for erhanbaris/smartcalc";
homepage = "https://github.com/superhawk610/smartcalc-tui";
license = licenses.mit;
maintainers = [];
};
}

View file

@ -16,12 +16,13 @@
htop
hwinfo
unzip
octave
brightnessctl
w3m
fzf
pandoc
pciutils
(pkgs.callPackage ../pkgs/smartcalc.nix { })
(pkgs.writeShellScriptBin "sc" ''smartcalc'')
#(pkgs.callPackage ../pkgs/ytsub.nix { })
#(pkgs.callPackage ../pkgs/russ.nix { })
#(pkgs.python3Packages.callPackage ../pkgs/impressive.nix { })