nixos-config
.dots
nixos-config | .dots | |
---|---|---|
5 | 26 | |
360 | 165 | |
- | - | |
9.6 | 9.2 | |
8 days ago | 3 days ago | |
Nix | Nix | |
- | 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.
nixos-config
-
Starship.rs: minimal, fast prompt for any shell
If you use home-manager, installing starship is as simple as adding `programs.starship.enable = true;`.
https://github.com/srid/nixos-config/blob/master/home/starsh...
Incidentally, starship also gives a visual indication of whether you are in the nix shell or not, which is pretty handy when using direnv:
https://nixos.asia/en/direnv
- Diving straight into flakes with no channels?
-
Sharing configuration between NixOS and MacOS
In https://github.com/srid/nixos-config I share home-manager modules (everything under ./home/ basically) between NixOS and macOS.
- Is there any equivalent to a curated Fedora/Ubuntu? A NixOS-based distro or metarepo of configs perhaps?
- Neovim unstable
.dots
-
Fish and nix develop question
I have a wrapper function that just maps to dev to make life easier: https://github.com/dmadisetti/.dots/blob/template/dot/config/fish/functions/develop.fish
-
Possible to make a machine independent NixOS configuration/flake?
Never fully got it to work, so I just encrypt my secrets when I build my isos: https://github.com/dmadisetti/.dots/actions/runs/5055636638/jobs/9072093945
-
Hardware configuration in nix flake dotfiles?
I have multiple files for each machine based on hostname. I have CI strip my config of all system specific information for general distribution. For reference: https://github.com/dmadisetti/.dots
-
Using current flake setup with WSL2
I build a wsl image: https://github.com/dmadisetti/.dots/blob/template/nix/machines/wsl.nix
- Diving straight into flakes with no channels?
-
how to store secrets needed at install time
What I do: Keep secrets in a separate git repo as a flake, and have a stub flake, that can be overridden: https://github.com/dmadisetti/.dots/tree/template/nix/spoof
-
Rice NixOS?
My dots
-
(maybe) ex arch user need some help to understand
I have a script that will symlink my dotfiles in (github:dmadisetti/.dots/setup.sh), because you also end up with weird RO permissions if you do it through Nix. I think this is fine. It also means that you aren't stuck with Nix
-
Have a shell command in configuration.nix that runs on nixos-rebuild
The way I manage multiple systems is with a wrapper: https://github.com/dmadisetti/.dots/blob/template/dot/config/fish/functions/snix.fish
-
Arch user, convince me to hop to Nix
The only thing that is semi manual is setting up disks on first install (something you'd still have to do with arch). You can still script that: https://github.com/dmadisetti/.dots/blob/template/scripts/run-install.nix.sh
What are some alternatives?
neovim - Vim-fork focused on extensibility and usability
deploy-rs - A simple multi-profile Nix-flake deploy tool.
nixpkgs-config - ~/.config/nixpkgs
krops - Mirror of https://cgit.krebsco.de/krops/about/ (PRs / issues accepted, as can be seen by not having them disabled)
nixos-config - Mirror of https://code.balsoft.ru/balsoft/nixos-config
nixos-config - My NixOS configurations.
NCC - RGBCube's NixOS Configuration Collection.
nix-starter-configs - Simple and documented config templates to help you get started with NixOS + home-manager + flakes. All the boilerplate you need!
NixOS-Guide - NixOS Guide. Learn all about the immutable Nix Operating System and the declarative Nix Expression Language.
nixfiles - My NixOS configuration and assorted other crap.
nixos-configs - My NixOS configs
nixcfg - My nix configuration(s), using flakes. It's my laptop, it's my servers, it's my everything, in code.