Compare commits

...

3 Commits

12 changed files with 195 additions and 34 deletions

7
.envrc Normal file
View File

@ -0,0 +1,7 @@
export DIRENV_WARN_TIMEOUT=20s
eval "$(devenv direnvrc)"
# The use_devenv function supports passing flags to the devenv command
# For example: use devenv --impure --option services.postgres.enable:bool true
use devenv

10
.gitignore vendored
View File

@ -4,3 +4,13 @@ node_modules
/docs/**/*.md /docs/**/*.md
/docs/.vuepress/dist/ /docs/.vuepress/dist/
/.yarn/ /.yarn/
# Devenv
.devenv*
devenv.local.nix
# direnv
.direnv
# pre-commit
.pre-commit-config.yaml

View File

@ -1,3 +0,0 @@
enableMessageNames: false
nodeLinker: node-modules

View File

@ -14,6 +14,14 @@ through [[https://www.gnu.org/software/emacs/][Emacs]].
These Markdown files are then compiled by [[https://v2.vuepress.vuejs.org/][Vuepress]] into a beautiful These Markdown files are then compiled by [[https://v2.vuepress.vuejs.org/][Vuepress]] into a beautiful
website available at [[https://beta.config.phundrak.com][config.phundrak.com]]. website available at [[https://beta.config.phundrak.com][config.phundrak.com]].
Note that a few configs here are no longer up to date. I am in the
process of switching over to [[https://nixos.org/][NixOS]]. You can find my current NixOS
configuration [[https://labs.phundrak.com/phundrak/nix-config][in this repository]]. It will eventually circle back to
being a litterary configuration. Not every piece of software will be
configured by Nix exclusively though, Emacs for instance will stay
relatively free of Nix configurations aside from its basic
installation.
* Running the project * Running the project
In order to run the project, you need to export all =.org= files in the In order to run the project, you need to export all =.org= files in the
Markdown format. To do that easily, you can use an org project setup Markdown format. To do that easily, you can use an org project setup

103
devenv.lock Normal file
View File

@ -0,0 +1,103 @@
{
"nodes": {
"devenv": {
"locked": {
"dir": "src/modules",
"lastModified": 1747717470,
"owner": "cachix",
"repo": "devenv",
"rev": "c7f2256ee4a4a4ee9cbf1e82a6e49b253c374995",
"type": "github"
},
"original": {
"dir": "src/modules",
"owner": "cachix",
"repo": "devenv",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1747046372,
"owner": "edolstra",
"repo": "flake-compat",
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"git-hooks": {
"inputs": {
"flake-compat": "flake-compat",
"gitignore": "gitignore",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1747372754,
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "80479b6ec16fefd9c1db3ea13aeb038c60530f46",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "git-hooks.nix",
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
"git-hooks",
"nixpkgs"
]
},
"locked": {
"lastModified": 1709087332,
"owner": "hercules-ci",
"repo": "gitignore.nix",
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "gitignore.nix",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1746807397,
"owner": "cachix",
"repo": "devenv-nixpkgs",
"rev": "c5208b594838ea8e6cca5997fbf784b7cca1ca90",
"type": "github"
},
"original": {
"owner": "cachix",
"ref": "rolling",
"repo": "devenv-nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"devenv": "devenv",
"git-hooks": "git-hooks",
"nixpkgs": "nixpkgs",
"pre-commit-hooks": [
"git-hooks"
]
}
}
},
"root": "root",
"version": 7
}

9
devenv.nix Normal file
View File

@ -0,0 +1,9 @@
{ pkgs, ... }:
{
languages.typescript.enable = true;
packages = [ pkgs.nodejs_20 ];
scripts.export.exec = ''
${pkgs.emacs}/bin/emacs -Q --script export.el
'';
}

15
devenv.yaml Normal file
View File

@ -0,0 +1,15 @@
# yaml-language-server: $schema=https://devenv.sh/devenv.schema.json
inputs:
nixpkgs:
url: github:cachix/devenv-nixpkgs/rolling
# If you're using non-OSS software, you can set allowUnfree to true.
# allowUnfree: true
# If you're willing to use a package that's vulnerable
# permittedInsecurePackages:
# - "openssl-1.1.1w"
# If you have more than one devenv you can merge them
#imports:
# - ./backend

View File

@ -64,8 +64,20 @@ export default defineUserConfig({
'/git', '/git',
'/hyprland', '/hyprland',
'/mpd', '/mpd',
'/tmux',
{
text: 'Deprecated Configs',
link: '/deprecated/',
collapsible: true,
children: [
'/deprecated/awesome',
'/deprecated/bootstrap',
'/deprecated/i3',
'/deprecated/nano',
'/neofetch', '/neofetch',
'/picom', '/picom',
'/deprecated/polybar',
'/deprecated/spacemacs',
{ {
text: 'StumpWM', text: 'StumpWM',
link: '/stumpwm/', link: '/stumpwm/',
@ -81,18 +93,6 @@ export default defineUserConfig({
'/stumpwm/utilities', '/stumpwm/utilities',
], ],
}, },
'/tmux',
{
text: 'Deprecated Configs',
link: '/deprecated/',
collapsible: true,
children: [
'/deprecated/awesome',
'/deprecated/bootstrap',
'/deprecated/i3',
'/deprecated/nano',
'/deprecated/polybar',
'/deprecated/spacemacs',
], ],
}, },
], ],

View File

@ -1,10 +1,17 @@
#+title: Neofetch #+title: Neofetch (Deprecated)
#+setupfile: headers #+setupfile: headers
#+PROPERTY: header-args :noweb yes :exports code :tangle no :exports none #+PROPERTY: header-args :noweb yes :exports code :tangle no :exports none
#+PROPERTY: header-args:sh :tangle ~/.config/neofetch/config.conf :exports code #+PROPERTY: header-args:sh :tangle ~/.config/neofetch/config.conf :exports code
#+PROPERTY: header-args:sh+ :noweb yes :padline no :mkdirp yes #+PROPERTY: header-args:sh+ :noweb yes :padline no :mkdirp yes
* Neofetch * Neofetch (Deprecated)
#+html: ::: warning
This configuration of Neofetch is no longer maintained and was
deprecated on May 24th, 2025. Therefore, it may not be up to date with
the latest versions of Neofetch.
#+html: :::
[[https://github.com/dylanaraps/neofetch][Neofetch]] is a CLI utility used to display system information. It was [[https://github.com/dylanaraps/neofetch][Neofetch]] is a CLI utility used to display system information. It was
written in Bash, and thus its configuration file is written as a Bash written in Bash, and thus its configuration file is written as a Bash
script too. This document was written with org-mode, and my script too. This document was written with org-mode, and my

View File

@ -2,7 +2,14 @@
#+setupfile: headers #+setupfile: headers
#+PROPERTY: header-args:conf :exports code :mkdirp yes :tangle ~/.config/picom/picom.conf #+PROPERTY: header-args:conf :exports code :mkdirp yes :tangle ~/.config/picom/picom.conf
* Picom * Picom (deprecated)
#+html: ::: warning
This configuration of Picom is no longer maintained and was deprecated
on May 24th, 2025. Therefore, it may not be up to date with the latest
versions of Picom.
#+html: :::
Picom is the successor to Compton, a standalone compositor for Xorg. It provides Picom is the successor to Compton, a standalone compositor for Xorg. It provides
compositing for WM that do not provide any, such as i3. I am currently using compositing for WM that do not provide any, such as i3. I am currently using
[[https://github.com/ibhagwan/picom][ibhagwans fork of compton]] which provides the ~dual-kawase~ blur from [[https://github.com/tryone144/compton][tryones [[https://github.com/ibhagwan/picom][ibhagwans fork of compton]] which provides the ~dual-kawase~ blur from [[https://github.com/tryone144/compton][tryones

View File

@ -1,10 +1,17 @@
#+title: StumpWM #+title: StumpWM (Deprecated)
#+setupfile: ../headers #+setupfile: ../headers
#+property: header-args:emacs-lisp :tangle no :exports results :cache yes :noweb yes #+property: header-args:emacs-lisp :tangle no :exports results :cache yes :noweb yes
[[file:../img/stumpwm.png]] [[file:../img/stumpwm.png]]
* StumpWM * StumpWM (deprecated)
#+html: ::: warning
This configuration of StumpWM is no longer maintained and was
deprecated on May 24th, 2025. Therefore, it may not be up to date with
the latest versions of StumpWM.
#+html: :::
** Introduction ** Introduction
*** What is StumpWM? *** What is StumpWM?
[[https://stumpwm.github.io/][StumpWM]] is a tiling window manager inheriting from [[http://www.nongnu.org/ratpoison/][RatPoison]], written [[https://stumpwm.github.io/][StumpWM]] is a tiling window manager inheriting from [[http://www.nongnu.org/ratpoison/][RatPoison]], written

View File

@ -1,9 +0,0 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs.buildPackages; [
corepack
];
shellHook = ''
yarn set version stable
'';
}