Skip to content
/ config Public

nohehf's cross-platform config (dotfiles, packages, system settings, nvim, ...). Powered by nix, nix-darwin and home-manager

License

Notifications You must be signed in to change notification settings

nohehf/config

Folders and files

NameName
Last commit message
Last commit date
Jan 21, 2025
Feb 5, 2025
Feb 25, 2025
Feb 5, 2025
Jan 26, 2025
Feb 25, 2025
Nov 29, 2024
Nov 29, 2024
Jan 26, 2025
Feb 5, 2025
Jan 25, 2025
Feb 5, 2025
Feb 5, 2025
Feb 26, 2025
Jan 26, 2025

Repository files navigation

nohehf nix based config

⚠️ This is a WIP. While Darwin works well, nixos is currently broken.

files.nix -> creates symlinks to given files (to manage actual dotfiles) flake.nix -> entry point packages.nix -> declarative list of packages to install from nixpkgs programs.nix -> declarative configuration of packages (home-manager global programs definition) ./config -> contains nix files and dotfiles for configurating programs

Install

Macos / Darwin

to document

Linux headless (non nixos)

# create nohehf user if not done, as a sudoer
sudo adduser nohehf sudo
su nohehf
# 
cd ~
git clone https://nohehf.com/config
chmod +x config/bin/x86_64-linux/install
./config/bin/x86_64-linux/install

Ressources:

run

/!\ make shure to git add before running

just test the build: nix run .#build

apply the new switch rix run .#build-switch

acknoledgments

This is based on: https://github.com/dustinlyons/nixos-config

TODO

  • secret management
  • merge host and modules to simplify structure
  • add install script
  • support linux (nixOS) -> make it actually work
  • support a "only install tools" config. Ie. via nix (very usefull when I use a vm or some computer via ssh and I just want to install some tools like nvim with my config)

Keybinds / modifiers rationnale

Windows (aerospace): ALT (+ SHIFT) -> this needs to be changed, cf. TODOs Open apps (raycast): HYPER -> this needs to be fixed or changed, as it will not only open but focus existing windows, I just want to start them. Terminal panes: CMD + OPTION -> This should be only command I believe. Need to make it feel like aerospace too.

TODO: rewrite this

Nvim

TODOS

  • Add a file viewer and / or oil.nvim -> I feel that it is kind of hard for me to visualise the project / workspace for now

About

nohehf's cross-platform config (dotfiles, packages, system settings, nvim, ...). Powered by nix, nix-darwin and home-manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published