dotfiles
Home Manager using Nix
Our great sponsors
dotfiles | Home Manager using Nix | |
---|---|---|
13 | 182 | |
926 | 5,863 | |
- | 6.3% | |
4.6 | 9.8 | |
13 days ago | 7 days ago | |
Shell | Nix | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotfiles
-
Oh My Zsh
Yep, I use zsh with 2 plugins. One for syntax highlighting commands and another for showing auto-suggestions. It's really fast. The rest is nearly a default zsh set up in terms of zsh configuration. Everything is documented in my dotfiles https://github.com/nickjj/dotfiles.
My prompt is a 1 liner that shows your git branch as well as coloring up $ to be red or not based on if the last command failed. Coincidentally I just released a blog post today on coloring up your prompt based on if the last command failed at https://nickjanetakis.com/blog/color-your-shell-prompt-red-i....
-
Ask HN: How do you sync your computers development configurations/environment?
I stole/copied my setup from Nick Janetakis who's just great all around. Its worked for me through several new systems and many updates.
https://github.com/nickjj/dotfiles
-
vim-dirtytalk: spellcheck dictionary for programmers 📖
If anyone is looking for a word list of programming terms I have one with 500+ words in my dotfiles at https://github.com/nickjj/dotfiles/blob/master/.vim/spell/en.utf-8.add.
-
Zim – The Zsh configuration framework with blazing speed and modular extensions
Is anyone else mostly rolling with the zsh (not oh-my-zsh) defaults?
After so many years of using Bash I switched to zsh almost a year ago. I use the vanilla zsh set up with 2 plugins:
- https://github.com/zdharma-continuum/fast-syntax-highlightin... for very good and fast syntax highlighting
- https://github.com/zsh-users/zsh-autosuggestions for auto-suggestions
I don't use a plugin manager, instead I put together a ~20 line shell script[0] which handles either cloning or pulling plugins, then you can load them in your zshrc[1].
I haven't found the need for anything else and my whole dev environment is based on using tmux, terminal Vim, etc.. Basically I spend a lot of time there in my day to day.
[0] https://github.com/nickjj/dotfiles/blob/0076e508403c9981e393...
[1] https://github.com/nickjj/dotfiles/blob/0076e508403c9981e393...
-
Newbie here, how should i use vim on windows ? gvim or wsl 2 vim ?
My set up is documented at https://github.com/nickjj/dotfiles and I have a bunch of Vim related videos at https://nickjanetakis.com/blog/tag/vim-tips-tricks-and-tutorials.
-
New job, windows computer. I tried to use VisualStudo code, but I got back to vim anyway
This is what I've been doing for years (WSL 2). It's really solid if you combine tmux with terminal Vim. My dotfiles work exactly the same on my native Linux device as WSL 2 and it's fast too.
-
"How to do what 90% of plugins do in vanilla vim" - what are some of the 10% plugins?
Here's a couple from my vimrc.
-
My Favorite Commandline Oneliners
All of my aliases are listed in my dotfiles at: https://github.com/nickjj/dotfiles/blob/master/.aliases
-
GUI app support is now available for the Windows Subsystem for Linux
I handle both cases in my dotfiles: https://github.com/nickjj/dotfiles/blob/a29ced43dd384f7226aaf0c384f56951869d0435/.bashrc#L59-L76
-
Hello there, any idea so I can switch between dark and light color in vim seamlessly? The problem is...
Screenshots and documentation are at: https://github.com/nickjj/dotfiles
Home Manager using Nix
-
Cosmic Desktop: Hammering Out New Cosmic Features
It's probably overkill for what you are trying to do. But I have been using home-manager [0] as a way to quickly restore my working environment.
[0] https://nix-community.github.io/home-manager/
-
How do I actually update home-manager?
$ home-manager --version 23.05 $ nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz home-manager $ nix-channel --update $ nix-shell '' -A install [...] All done! The home-manager tool should now be installed and you can edit /home/MY-USERNAME/.config/home-manager/home.nix to configure Home Manager. Run 'man home-configuration.nix' to see all available options. $ home-manager --version 23.05
-
Possible to use KDE plugins on nixos?
Unfortunately until we find more volunteers in this area, it is hard to see status quo changing. See also https://github.com/nix-community/home-manager/issues/607 and this ongoing project https://github.com/pjones/plasma-manager
- Exclude packages in home manager
-
An Overview of Nix in Practice
> Channels are, AFAIU, a reference to some point-in-time/commit/version of nixpkgs
It's not specifically nixpkgs, but any Nix code generally.
Per the Nix manual[0]:
> Channels are a mechanism for referencing remote Nix expressions and conveniently retrieving their latest version.
e.g. home-manager's suggested channel is just the github tarball for the relevant branch[1]:
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
-
Fake recruiter Lazarus lured aerospace employee with trojanized coding challenge
It sounds like you'd benefit a lot from Nix/NixOS [1], if not just home-manager[2].
1. https://nixos.org/
2. https://github.com/nix-community/home-manager
-
Noob question: Where home-manager config after installed on archlinux
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager nix-channel --update nix-shell '' -A install
-
Need help on home manager neovim config
I'm using flakes and home manager and not really sure how to go about managing my neovim configuration. I've read through some other posts, github issues, and various articles trying to suss out a good way to do this. Reading through other people's configs and posts was somewhat helpful but there is a lot going on I don't understand and everyone's examples I've seen vary wildly.
-
Recurring 'Home Manager not found' Error After Running nix-collect-garbage"
Said store path contains the home-manager repo. After the home-manager run, the store path is recreated.
-
I want to like NixOS but... I can't and I need some help
I can't answer all your questions, but home-manager does have a dconf module that would probably be better to use than that external tool. Everything inside the options block are the things you can pass to the dconf module.
What are some alternatives?
vim-python-ide - Python development config
Ansible - Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.
org-roam - Rudimentary Roam replica with Org-mode
GNU Stow - GNU Stow - mirror of savannah git repository occasionally with more bleeding-edge branches
nixos-flake-example - This is a demo NixOS config, with optional flakes support. Along with notes on why flakes is useful and worth adopting.
vim-dirvish - Directory viewer for Vim :zap:
NixOS-WSL - NixOS on WSL(2) [maintainer=@nzbr]
debug - Debugging functionality for Ruby
emacs-overlay - Bleeding edge emacs overlay [maintainer=@adisbladis]
nushell - A new type of shell
chezmoi - Manage your dotfiles across multiple diverse machines, securely.