nyx
dotfiles
Our great sponsors
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.
nyx
-
People drop your nvim .dotfile
Here is a link to my dotfiles managed by nix. My setup is well structured and commented for others. It also has a lot of useful lua libraries and extensions functions that might be useful for others.
-
Nightfox's newest fox appears: Terafox
The right file tree is nvim-tree. The status line at the top is called a tabline. The tabline I am using is tabby.nvim. I do use tmux as well but this picture does not have a tmux session attached. You can find my configuration for tabby here. For my statusline I use feline and you can find my configuration for feline here. Note that for both tabline and statusline my config generates its own highlight groups based on my current theme. This is done here
-
Restart neovim from neovim
You can check out my config here. The relevant sections are reload.lua and bootstrap.lua.
-
Is there an easy way to see changes made by `nixos-rebuild switch`?
If you are interested in the complete setup you can find my config here: nyx. For the individual action components (as of time of writing):
-
How to import flake package to a module?
If you would like to see a more complete setup/structure of a nix configuration you can check out mine: nyx
-
Create config files from option list
I was able to get something to work. For those who stumble upon this here is an example nyx
-
confused about how to configure user env. To many options
You can use flakes and home-manager. If you want an example of how to structure/setup your configuration you can check mine EdenEast/nyx. My configuration defines my nixos machines, darwin machines, and generic home-manager output (used for things like wsl).
-
Flake structure for multi system
Current config [nix](https://github.com/edeneast/nyx)
-
vimconf21 JessArcher talk - cleaner init.vim
If you are looking for an example of a fully lua configuration that I hope is well structured you can check out my neovim config nyx
-
way to increase/ decrease brightness of selected higlight
I also generate highlight groups based on the current colorscheme. I do this for my feline status line and tabby bar. You can see that in my config.
dotfiles
-
RedNixOS - NixOS-based 'distro' for cybersec
Not sure about central but just search dotfiles, config, or flake on GitHub and filter by nix language. Most dotfiles are a sort of “distro” as nix let’s you configure everything from scratch in a central way. Eg my personal dotfiles are an abstracted layer of NixOS/home manager. This can be seen honestly in a lot of popular configs. Eg my WireGuard module turns high level options into automatic configs (see: module).
-
Nix and NixOS Get So Close to Perfect
What’s powerful about nix is the language IMO. I was able to build an automatic WireGuard setup[1] with tagging that automatically works on each new machine thanks to the ability to do config as code. Just provide some basic config for each machine and the code turns it into an interface with peers.
The issue to me isn’t the language persay (it’s really a tiny surface area language, see the built in/lib functions [2]) but the tooling built around packaging is a hodgepodge mess of semi-documented workarounds (with Nixpkgs blessed ways vs used libraries) and is extremely difficult to approach and understand.
[1]: https://github.com/jordanisaacs/dotfiles
-
Installing Firefox extensions through policies with nur packages.
Not entirely sure what you mean by policies. But you can use rycee’s buildFirefoxXpiAddon. All you need is the xpi. See: https://github.com/jordanisaacs/dotfiles/blob/master/modules/users/graphical/applications/firefox.nix for some manual packages.
-
Confused about Git, gnome-keyring, and libsecret
As a heads up setting up gnome-keyring is an adventure in and of itself when not using GNOME which from the sounds of it you are not. It took me a month of on and off trial and error to finally quash the last of its bugs. You can search around my dotfiles where I have it working but the solutions are all over the place (modules/system/gnome/default.nix, modules/users/graphical/shared.nix, and modules/users/graphical/wayland.nix).
-
Flake structure for multi system
I’ll just add on, I use functions in my nix file to make configs (iso, home manager, nixos),: function folder. With this logic you can create basic other hosts. How they are used in used in flake.nix
-
Conditionally import file
I am using this repo as a guide. I created a module which has the bootloader and filesystems configuration, and here I would like to conditionally load the qemu guest configuration, based on a configured attr. When you install NixOS in a qemu vm, this import is automatically added by nixos-generate-config to /etc/nixos/hardware-configuration.nix like so:
What are some alternatives?
nvim-config - My neovim config
nixos-configs - My NixOS and nix-darwin configs
nightfox.nvim - 🦊A highly customizable theme for vim and neovim with support for lsp, treesitter and a variety of plugins.
cargo2nix - Granular builds of Rust projects for Nix
dotfiles
nixos-configs - My NixOS configs
packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
veritas - @davidtwco's personal mono-repo - containing the declarative configuration of servers, desktops and laptops - including dotfiles; a collection of packages; a static site generator and source of "davidtw.co".
feline.nvim - A minimal, stylish and customizable statusline for Neovim written in Lua
jdisaacs.com - My personal website
dotfiles