nixos-config
.dots
nixos-config | .dots | |
---|---|---|
8 | 26 | |
233 | 165 | |
- | - | |
6.6 | 9.2 | |
9 days ago | 5 days ago | |
Nix | Nix | |
GNU General Public License v3.0 or later | 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
-
Is there any equivalent to a curated Fedora/Ubuntu? A NixOS-based distro or metarepo of configs perhaps?
balsoft: https://github.com/balsoft/nixos-config
-
Home-manager mime wildchar
Examples: - https://github.com/gmarmstrong/dotfiles/blob/master/nixpkgs/home.nix - https://github.com/balsoft/nixos-config/blob/master/profiles/applications-setup.nix - https://github.com/gytis-ivaskevicius/nixfiles/blob/master/home-manager/common.nix - https://github.com/xtruder/nix-profiles/blob/master/home-manager/roles/desktop/work.nix
-
I'm Here Because of a Meme - Looking for Pointers
I am not in a state to write a detailed recommendation list for all the things you've mentioned, but: - There is indeed an official Matrix room: #nix:nixos.org . I believe this is the most popular Nix community out there. - As for multiple hosts, there are different approaches out there. Typically you will write NixOS "modules" (which are like pieces of configuration) and then merge (combine) them together, along with some machine-specific overrides, to get configurations for all your machines. I do something similar for my config. Here are the modules: https://github.com/balsoft/nixos-config/tree/master/profiles which configure different pieces of my system, then those modules are combined into "roles" (e.g. here's a desktop role: https://github.com/balsoft/nixos-config/blob/master/roles/desktop.nix) and then those roles are imported from actual machine configs with some overrides (e.g. here's the config for the box I'm writing this from: https://github.com/balsoft/nixos-config/blob/master/machines/AMD-Workstation/default.nix)
-
Can configuration.nix manage GTK themes?
Hey, inkscape build seems to be broken, but I have made a new working derivation that uses resvg instead: https://github.com/balsoft/nixos-config/blob/master/modules/workspace/gtk.nix#L32
-
How do you manage your private keys?
I use a custom pass-based hack: https://github.com/balsoft/nixos-config/blob/master/modules/secrets.nix and https://github.com/balsoft/nixos-config/blob/master/modules/secrets-envsubst.nix. My actual GPG key is on my yubi.
-
nix-dram: Nix flakes with a modified frontend
Adding self to local registry is done here: https://github.com/balsoft/nixos-config/blob/master/modules/nix.nix#L6
-
Is there a way to use niv with NixOS configuration ?
Ok, just checked with that nix version and my nixos-config, and I can build my configuration without .git in it.
.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?
digga - A flake utility library to craft shell-, home-, and hosts- environments.
deploy-rs - A simple multi-profile Nix-flake deploy tool.
agenix - age-encrypted secrets for NixOS and Home manager
krops - Mirror of https://cgit.krebsco.de/krops/about/ (PRs / issues accepted, as can be seen by not having them disabled)
sops-nix - Atomic secret provisioning for NixOS based on sops
nixos-config - My NixOS configurations.
inkscape
nix-starter-configs - Simple and documented config templates to help you get started with NixOS + home-manager + flakes. All the boilerplate you need!
nix-profiles - Configuration profiles for x-truder networks
nixfiles - My NixOS configuration and assorted other crap.
nixos-config - KISS NixOS configuration based on Flakes & flake-parts (supports macOS too)
nixcfg - My nix configuration(s), using flakes. It's my laptop, it's my servers, it's my everything, in code.