mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 22:55:52 +05:30
Compare commits
2 commits
be81619465
...
fd173ffd70
Author | SHA1 | Date | |
---|---|---|---|
fd173ffd70 | |||
4408812f56 |
56
flake.lock
56
flake.lock
|
@ -117,11 +117,11 @@
|
|||
"blocklist-hosts": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1716859594,
|
||||
"narHash": "sha256-wllEikCX/bMY/ZyRszXvar+AzYqmAx6fcjvcDJBkzfU=",
|
||||
"lastModified": 1717449440,
|
||||
"narHash": "sha256-QtSCQFBhyQIsKJhOvcIOi+9EN1kEnNeoLo3PeQ5VbIY=",
|
||||
"owner": "StevenBlack",
|
||||
"repo": "hosts",
|
||||
"rev": "6b6cba7dc79b459f80ffc44b3dd9973effdbed34",
|
||||
"rev": "e1a7b23e9769607009d741066b5789a99aaf9923",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -469,11 +469,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1716729592,
|
||||
"narHash": "sha256-Y3bOjoh2cFBqZN0Jw1zUdyr7tjygyxl2bD/QY73GZP0=",
|
||||
"lastModified": 1717476296,
|
||||
"narHash": "sha256-ScHe38Tr+TxGURC17kby4mIIxOG3aJvZWXzPM79UnEk=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "2c78a57c544dd19b07442350727ced097e1aa6e6",
|
||||
"rev": "095ef64aa3b2ab4a4f1bf07f29997e21e3a5576a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -490,11 +490,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1717097707,
|
||||
"narHash": "sha256-HC5vJ3oYsjwsCaSbkIPv80e4ebJpNvFKQTBOGlHvjLs=",
|
||||
"lastModified": 1717525419,
|
||||
"narHash": "sha256-5z2422pzWnPXHgq2ms8lcCfttM0dz+hg+x1pCcNkAws=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "0eb314b4f0ba337e88123e0b1e57ef58346aafd9",
|
||||
"rev": "a7117efb3725e6197dd95424136f79147aa35e5b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -589,17 +589,17 @@
|
|||
"xdph": "xdph"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1714837352,
|
||||
"narHash": "sha256-QzzJTb+0CBqgAT0wKZsOt1rky5+u2zMUlNxbZcGj2VM=",
|
||||
"lastModified": 1714862770,
|
||||
"narHash": "sha256-W6hJa5pWNQ19q9YNGS9s2ZaGkWmBd6yLsT9NqLtI1vg=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "Hyprland",
|
||||
"rev": "cba1ade848feac44b2eda677503900639581c3f4",
|
||||
"rev": "0b215c5f246d3fde6c023e78b3e3579f7498c172",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hyprwm",
|
||||
"repo": "Hyprland",
|
||||
"rev": "cba1ade848feac44b2eda677503900639581c3f4",
|
||||
"rev": "0b215c5f246d3fde6c023e78b3e3579f7498c172",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
|
@ -799,11 +799,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1716948383,
|
||||
"narHash": "sha256-SzDKxseEcHR5KzPXLwsemyTR/kaM9whxeiJohbL04rs=",
|
||||
"lastModified": 1717602782,
|
||||
"narHash": "sha256-pL9jeus5QpX5R+9rsp3hhZ+uplVHscNJh8n8VpqscM0=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "ad57eef4ef0659193044870c731987a6df5cf56b",
|
||||
"rev": "e8057b67ebf307f01bdcc8fba94d94f75039d1f6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -814,11 +814,11 @@
|
|||
},
|
||||
"nixpkgs-stable": {
|
||||
"locked": {
|
||||
"lastModified": 1716991068,
|
||||
"narHash": "sha256-Av0UWCCiIGJxsZ6TFc+OiKCJNqwoxMNVYDBChmhjNpo=",
|
||||
"lastModified": 1717530100,
|
||||
"narHash": "sha256-b4Dn+PnrZoVZ/BoR9JN2fTxXxplJrAsdSUIePf4Cacs=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "25cf937a30bf0801447f6bf544fc7486c6309234",
|
||||
"rev": "a2e1d0414259a144ebdc048408a807e69e0565af",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -958,11 +958,11 @@
|
|||
"org-side-tree": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1706597780,
|
||||
"narHash": "sha256-y7a/ouih5Jnug50OJHAv7S5BsfKSxMWoQ63t7cq7XrI=",
|
||||
"lastModified": 1717236106,
|
||||
"narHash": "sha256-b30Yl378DaRQl8DAsAaeyf+WYz0y7L5h0EsbBQGvdjE=",
|
||||
"owner": "localauthor",
|
||||
"repo": "org-side-tree",
|
||||
"rev": "62169a26edfafacd681ecaf84289dd6b58be6c32",
|
||||
"rev": "e8da5217ce23440a62f4a46ef60e2082b6284b28",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -1151,11 +1151,11 @@
|
|||
"nixpkgs": "nixpkgs_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1717121863,
|
||||
"narHash": "sha256-/3sxIe7MZqF/jw1RTQCSmgTjwVod43mmrk84m50MJQ4=",
|
||||
"lastModified": 1717726729,
|
||||
"narHash": "sha256-2WDKLjVRKWXbadnJHSOUb46PTq3D5nS89vhHTphRw1M=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "2a7b53172ed08f856b8382d7dcfd36a4e0cbd866",
|
||||
"rev": "7f52ac9ae95bd60c0780d6e32baea22e542e11e1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -1195,11 +1195,11 @@
|
|||
"nixpkgs": "nixpkgs_3"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1717184467,
|
||||
"narHash": "sha256-d1m43p1Pvh6LMkSHcwDadVIAQrm+2HFhVjQ3m7wzf84=",
|
||||
"lastModified": 1717593209,
|
||||
"narHash": "sha256-Hc8yIj1CDuVOpUV13ZWvR+5CPXysBmuUqqB8bJ7/CgQ=",
|
||||
"owner": "danth",
|
||||
"repo": "stylix",
|
||||
"rev": "ebaed9d4bf258f4eda7d0690c4092fadcbeefa9d",
|
||||
"rev": "1d3826ceed91ae67562f28ee2e135813a11e47a6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -182,7 +182,7 @@
|
|||
home-manager-stable.url = "github:nix-community/home-manager/release-23.11";
|
||||
home-manager-stable.inputs.nixpkgs.follows = "nixpkgs-stable";
|
||||
|
||||
hyprland.url = "github:hyprwm/Hyprland/cba1ade848feac44b2eda677503900639581c3f4?submodules=1";
|
||||
hyprland.url = "github:hyprwm/Hyprland/0b215c5f246d3fde6c023e78b3e3579f7498c172?submodules=1";
|
||||
hyprland.inputs.nixpkgs.follows = "nixpkgs";
|
||||
hyprland-plugins.url = "github:hyprwm/hyprland-plugins";
|
||||
hyprland-plugins.inputs.hyprland.follows = "hyprland";
|
||||
|
|
|
@ -118,11 +118,13 @@
|
|||
;; line 2
|
||||
( (,"Git" "" "" (lambda (&rest _)) 'diredfl-exec-priv)
|
||||
(,(all-the-icons-octicon "mark-github" :height 1.0 :v-adjust 0.0)
|
||||
"GitHub" "" (lambda (&rest _) (browse-url "ext+container:name=Tech&url=https://github.com/librephoenix")) 'diredfl-exec-priv)
|
||||
"GitHub" "" (lambda (&rest _) (browse-url "https://github.com/librephoenix")) 'diredfl-exec-priv)
|
||||
(,(all-the-icons-faicon "gitlab" :height 1.0 :v-adjust 0.0)
|
||||
"GitLab" "" (lambda (&rest _) (browse-url "ext+container:name=Tech&url=https://gitlab.com/librephoenix")) 'diredfl-exec-priv)
|
||||
"GitLab" "" (lambda (&rest _) (browse-url "https://gitlab.com/librephoenix")) 'diredfl-exec-priv)
|
||||
(,(all-the-icons-faicon "coffee" :height 1.0 :v-adjust 0.0)
|
||||
"Gitea" "" (lambda (&rest _) (browse-url my-gitea-domain)) 'diredfl-exec-priv)
|
||||
(,(all-the-icons-octicon "triangle-up" :height 1.2 :v-adjust -0.1)
|
||||
"Codeberg" "" (lambda (&rest _) (browse-url "https://codeberg.org/librephoenix")) 'diredfl-exec-priv)
|
||||
)
|
||||
;; line 3
|
||||
( (,"Agenda" "" "" (lambda (&rest _)) 'dired-warning)
|
||||
|
@ -1218,24 +1220,12 @@ If the path from LINK does not exist, nil is returned."
|
|||
:map org-super-agenda-header-map
|
||||
"k" 'org-agenda-previous-line)
|
||||
|
||||
(add-load-path! "~/.emacs.d/org-timeblock")
|
||||
(require 'org-timeblock)
|
||||
(require 'calfw)
|
||||
(require 'calfw-org)
|
||||
(setq cfw:org-agenda-schedule-args '(:timestamp))
|
||||
|
||||
(map! :leader :desc "Open org timeblock"
|
||||
"O c" 'org-timeblock)
|
||||
|
||||
(map! :desc "Next day"
|
||||
:map org-timeblock-mode-map
|
||||
:nvmeg "l" 'org-timeblock-day-later)
|
||||
(map! :desc "Previous day"
|
||||
:map org-timeblock-mode-map
|
||||
:nvmeg "h" 'org-timeblock-day-earlier)
|
||||
(map! :desc "Schedule event"
|
||||
:map org-timeblock-mode-map
|
||||
:nvmeg "m" 'org-timeblock-schedule)
|
||||
(map! :desc "Event duration"
|
||||
:map org-timeblock-mode-map
|
||||
:nvmeg "d" 'org-timeblock-set-duration)
|
||||
(map! :leader :desc "Open org calendar"
|
||||
"O c" 'cfw:open-org-calendar)
|
||||
|
||||
;;;------ magit configuration ------;;;
|
||||
;; Need the following two blocks to make magit work with git bare repos
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
- [[#dired-configuration][Dired Configuration]]
|
||||
- [[#ranger-configuration][Ranger Configuration]]
|
||||
- [[#hledger-mode-configuration][hledger-mode Configuration]]
|
||||
- [[#tab-bar-configuration][Tab Bar Configuration]]
|
||||
- [[#no-tab-bar-configuration][NO Tab Bar Configuration]]
|
||||
- [[#focus-mode-configuration][Focus Mode Configuration]]
|
||||
- [[#helpful-mode-configuration][Helpful Mode Configuration]]
|
||||
- [[#mu4e-configuration][mu4e Configuration]]
|
||||
|
@ -181,11 +181,13 @@ Doom Emacs is traditionally installed by cloning the repository ([[https://githu
|
|||
;; line 2
|
||||
( (,"Git" "" "" (lambda (&rest _)) 'diredfl-exec-priv)
|
||||
(,(all-the-icons-octicon "mark-github" :height 1.0 :v-adjust 0.0)
|
||||
"GitHub" "" (lambda (&rest _) (browse-url "ext+container:name=Tech&url=https://github.com/librephoenix")) 'diredfl-exec-priv)
|
||||
"GitHub" "" (lambda (&rest _) (browse-url "https://github.com/librephoenix")) 'diredfl-exec-priv)
|
||||
(,(all-the-icons-faicon "gitlab" :height 1.0 :v-adjust 0.0)
|
||||
"GitLab" "" (lambda (&rest _) (browse-url "ext+container:name=Tech&url=https://gitlab.com/librephoenix")) 'diredfl-exec-priv)
|
||||
"GitLab" "" (lambda (&rest _) (browse-url "https://gitlab.com/librephoenix")) 'diredfl-exec-priv)
|
||||
(,(all-the-icons-faicon "coffee" :height 1.0 :v-adjust 0.0)
|
||||
"Gitea" "" (lambda (&rest _) (browse-url my-gitea-domain)) 'diredfl-exec-priv)
|
||||
(,(all-the-icons-octicon "triangle-up" :height 1.2 :v-adjust -0.1)
|
||||
"Codeberg" "" (lambda (&rest _) (browse-url "https://codeberg.org/librephoenix")) 'diredfl-exec-priv)
|
||||
)
|
||||
;; line 3
|
||||
( (,"Agenda" "" "" (lambda (&rest _)) 'dired-warning)
|
||||
|
@ -601,7 +603,7 @@ else
|
|||
fi
|
||||
exit
|
||||
#+END_SRC
|
||||
*** Org Sliced Images
|
||||
*** NO Org Sliced Images
|
||||
#+begin_src emacs-lisp
|
||||
;; this is kinda buggy
|
||||
(add-load-path! "~/.emacs.d/org-sliced-images")
|
||||
|
@ -1396,7 +1398,7 @@ On Wayland, EAF doesn't work.
|
|||
|
||||
#+END_SRC
|
||||
|
||||
*** Org Agenda Notifications
|
||||
*** NO Org Agenda Notifications
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(add-load-path! "~/.emacs.d/org-yaap")
|
||||
(require 'org-yaap)
|
||||
|
@ -1407,8 +1409,17 @@ On Wayland, EAF doesn't work.
|
|||
(setq org-yaap-daemon-idle-time 30)
|
||||
(org-yaap-mode 1)
|
||||
#+END_SRC
|
||||
*** Org Timeblock
|
||||
*** Calfw
|
||||
#+begin_src emacs-lisp :tangle config.el
|
||||
(require 'calfw)
|
||||
(require 'calfw-org)
|
||||
(setq cfw:org-agenda-schedule-args '(:timestamp))
|
||||
|
||||
(map! :leader :desc "Open org calendar"
|
||||
"O c" 'cfw:open-org-calendar)
|
||||
#+end_src
|
||||
*** NO Org Timeblock
|
||||
#+begin_src emacs-lisp
|
||||
(add-load-path! "~/.emacs.d/org-timeblock")
|
||||
(require 'org-timeblock)
|
||||
|
||||
|
@ -1536,7 +1547,7 @@ https://github.com/magit/magit/issues/460 (@cpitclaudel)."
|
|||
"t a" 'hledger-edit-amount)
|
||||
|
||||
#+END_SRC
|
||||
** Tab Bar Configuration
|
||||
** NO Tab Bar Configuration
|
||||
I don't have this active right now since it's kinda weird with pgtk...
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
;;;-- tab-bar-mode configuration ;;;--
|
||||
|
@ -1993,7 +2004,7 @@ This section is the [[./init.el][init.el]] section, which controls which Doom mo
|
|||
;;(wanderlust +gmail)
|
||||
|
||||
:app
|
||||
;;calendar
|
||||
calendar
|
||||
;;emms
|
||||
;;everywhere ; *leave* Emacs!? You must be joking
|
||||
;;irc ; how neckbeards socialize
|
||||
|
|
|
@ -163,7 +163,7 @@
|
|||
;;(wanderlust +gmail)
|
||||
|
||||
:app
|
||||
;;calendar
|
||||
calendar
|
||||
;;emms
|
||||
;;everywhere ; *leave* Emacs!? You must be joking
|
||||
;;irc ; how neckbeards socialize
|
||||
|
|
Loading…
Reference in a new issue