mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Compare commits
3 commits
7f9da9ff2e
...
c13de110dc
Author | SHA1 | Date | |
---|---|---|---|
c13de110dc | |||
82795ffb89 | |||
837c6bdeda |
51
flake.lock
51
flake.lock
|
@ -514,8 +514,12 @@
|
||||||
"flake-compat": "flake-compat",
|
"flake-compat": "flake-compat",
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
"format-all": "format-all",
|
"format-all": "format-all",
|
||||||
"nix-straight": "nix-straight",
|
"nix-straight": [
|
||||||
"nixpkgs": "nixpkgs",
|
"nix-straight"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
"nose": "nose",
|
"nose": "nose",
|
||||||
"ob-racket": "ob-racket",
|
"ob-racket": "ob-racket",
|
||||||
"org": "org",
|
"org": "org",
|
||||||
|
@ -529,16 +533,15 @@
|
||||||
"ws-butler": "ws-butler"
|
"ws-butler": "ws-butler"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1692036829,
|
"lastModified": 1701264882,
|
||||||
"narHash": "sha256-C7VR/g4d8kUvbedqHi5gOKnMTAhti1ZlRkcWbHso/BA=",
|
"narHash": "sha256-MBXR7x7Ua8qystlGr+lenwjQd7dsFNFpEFmtHhh10zM=",
|
||||||
"owner": "librephoenix",
|
"owner": "nix-community",
|
||||||
"repo": "nix-doom-emacs",
|
"repo": "nix-doom-emacs",
|
||||||
"rev": "66f75fae616d8e36c901bbb594225d1c630fbceb",
|
"rev": "f7413022370f24bb53cb450bfb2803233510113e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "librephoenix",
|
"owner": "nix-community",
|
||||||
"ref": "pgtk-patch",
|
|
||||||
"repo": "nix-doom-emacs",
|
"repo": "nix-doom-emacs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@ -562,16 +565,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1682566018,
|
"lastModified": 1706732774,
|
||||||
"narHash": "sha256-HPzPRFiy2o/7k7mtnwfM1E6NVZHiFbPdmYCMoIpkHO4=",
|
"narHash": "sha256-hqJlyJk4MRpcItGYMF+3uHe8HvxNETWvlGtLuVpqLU0=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "8e3b64db39f2aaa14b35ee5376bd6a2e707cadc2",
|
"rev": "b8b232ae7b8b144397fdb12d20f592e5e7c1a64d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"id": "nixpkgs",
|
"id": "nixpkgs",
|
||||||
"ref": "nixpkgs-unstable",
|
"ref": "nixos-unstable",
|
||||||
"type": "indirect"
|
"type": "indirect"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -591,21 +594,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"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": {
|
"locked": {
|
||||||
"lastModified": 1706487304,
|
"lastModified": 1706487304,
|
||||||
"narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=",
|
"narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=",
|
||||||
|
@ -621,7 +609,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1700856099,
|
"lastModified": 1700856099,
|
||||||
"narHash": "sha256-RnEA7iJ36Ay9jI0WwP+/y4zjEhmeN6Cjs9VOFBH7eVQ=",
|
"narHash": "sha256-RnEA7iJ36Ay9jI0WwP+/y4zjEhmeN6Cjs9VOFBH7eVQ=",
|
||||||
|
@ -837,7 +825,8 @@
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"hyprland-plugins": "hyprland-plugins",
|
"hyprland-plugins": "hyprland-plugins",
|
||||||
"nix-doom-emacs": "nix-doom-emacs",
|
"nix-doom-emacs": "nix-doom-emacs",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nix-straight": "nix-straight",
|
||||||
|
"nixpkgs": "nixpkgs",
|
||||||
"nixpkgs-stable": "nixpkgs-stable",
|
"nixpkgs-stable": "nixpkgs-stable",
|
||||||
"org-nursery": "org-nursery",
|
"org-nursery": "org-nursery",
|
||||||
"org-side-tree": "org-side-tree",
|
"org-side-tree": "org-side-tree",
|
||||||
|
@ -867,7 +856,7 @@
|
||||||
"rust-overlay": {
|
"rust-overlay": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils_2",
|
"flake-utils": "flake-utils_2",
|
||||||
"nixpkgs": "nixpkgs_3"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1706926144,
|
"lastModified": 1706926144,
|
||||||
|
@ -912,7 +901,7 @@
|
||||||
"base16-vim": "base16-vim",
|
"base16-vim": "base16-vim",
|
||||||
"flake-compat": "flake-compat_2",
|
"flake-compat": "flake-compat_2",
|
||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager_2",
|
||||||
"nixpkgs": "nixpkgs_4"
|
"nixpkgs": "nixpkgs_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1706783767,
|
"lastModified": 1706783767,
|
||||||
|
|
12
flake.nix
12
flake.nix
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
description = "Flake of LibrePhoenix";
|
description = "Flake of LibrePhoenix";
|
||||||
|
|
||||||
outputs = { self, nixpkgs, nixpkgs-stable, home-manager, nix-doom-emacs, stylix,
|
outputs = { self, nixpkgs, nixpkgs-stable, home-manager, nix-doom-emacs, nix-straight,
|
||||||
blocklist-hosts, rust-overlay, hyprland-plugins,
|
stylix, blocklist-hosts, rust-overlay, hyprland-plugins,
|
||||||
eaf, eaf-browser, org-nursery, org-yaap,
|
eaf, eaf-browser, org-nursery, org-yaap,
|
||||||
org-side-tree, org-timeblock, phscroll, ... }@inputs:
|
org-side-tree, org-timeblock, phscroll, ... }@inputs:
|
||||||
let
|
let
|
||||||
|
@ -116,7 +116,13 @@
|
||||||
home-manager.url = "github:nix-community/home-manager/master";
|
home-manager.url = "github:nix-community/home-manager/master";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
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 = {
|
eaf = {
|
||||||
url = "github:emacs-eaf/emacs-application-framework";
|
url = "github:emacs-eaf/emacs-application-framework";
|
||||||
flake = false;
|
flake = false;
|
||||||
|
|
|
@ -703,7 +703,7 @@ same directory as the org-buffer and insert a link to this file."
|
||||||
)
|
)
|
||||||
|
|
||||||
(defun org-current-buffer-has-todos ()
|
(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-map ; (2)
|
||||||
(org-element-parse-buffer 'headline) ; (1)
|
(org-element-parse-buffer 'headline) ; (1)
|
||||||
|
|
|
@ -834,7 +834,7 @@ exit
|
||||||
)
|
)
|
||||||
|
|
||||||
(defun org-current-buffer-has-todos ()
|
(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-map ; (2)
|
||||||
(org-element-parse-buffer 'headline) ; (1)
|
(org-element-parse-buffer 'headline) ; (1)
|
||||||
|
|
27
user/pkgs/smartcalc.nix
Normal file
27
user/pkgs/smartcalc.nix
Normal 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 = [];
|
||||||
|
};
|
||||||
|
}
|
|
@ -16,12 +16,13 @@
|
||||||
htop
|
htop
|
||||||
hwinfo
|
hwinfo
|
||||||
unzip
|
unzip
|
||||||
octave
|
|
||||||
brightnessctl
|
brightnessctl
|
||||||
w3m
|
w3m
|
||||||
fzf
|
fzf
|
||||||
pandoc
|
pandoc
|
||||||
pciutils
|
pciutils
|
||||||
|
(pkgs.callPackage ../pkgs/smartcalc.nix { })
|
||||||
|
(pkgs.writeShellScriptBin "sc" ''smartcalc'')
|
||||||
#(pkgs.callPackage ../pkgs/ytsub.nix { })
|
#(pkgs.callPackage ../pkgs/ytsub.nix { })
|
||||||
#(pkgs.callPackage ../pkgs/russ.nix { })
|
#(pkgs.callPackage ../pkgs/russ.nix { })
|
||||||
#(pkgs.python3Packages.callPackage ../pkgs/impressive.nix { })
|
#(pkgs.python3Packages.callPackage ../pkgs/impressive.nix { })
|
||||||
|
|
Loading…
Reference in a new issue