dotfiles
nix-config
Our great sponsors
dotfiles | nix-config | |
---|---|---|
3 | 8 | |
19 | 633 | |
- | - | |
9.3 | 9.7 | |
5 days ago | 8 days ago | |
Nix | Nix | |
GNU General Public License v3.0 only | 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
-
Who's here runs NixOS with opt in state?
I daily-drive it with ZFS on the root partition, and roll back using snapshots. All state is persisted to /nix/state (again /nix is ZFS with atime=off for speed), and important files are all stored in /data. You can find the complete configuration for it here and the partition script here. This is done using the extremely handy impermanence Module
-
Erase your darlings: immutable infrastructure for mutable systems (erasing root on every boot)
I use BTRFS, and have created a separate subvolume for /home, and take automatic snapshots using btrbk (my config) Also, I did not face any problems with the SSD till now (using TMPFS on /)
-
Some basic beginner questions I have....
This is one of the best answers I've ever seen. Thanks a lot!! Also to OP, if you decide on using home-manager as a NixOS Module, then you can have a look at my config, it does exactly that, and it is simple to understand (I am a beginner as well)
nix-config
-
What is the current recommended documentation when starting out with NixOs?
All the resources mentioned in other comments are pretty good, but mostly they are unofficial. The official NixOS wiki is very outdated and unmaintained. You will have better luck reading other people’s configurations, nixpkgs source code and GitHub issues. For the nix language the official wiki is a nice reference https://nixos.org/manual/nix/stable/language/index.html. This configuration is a great starting point https://github.com/Misterio77/nix-config for learning by example. It covers most of what you may need, although bootstrapping your own config is quite rough. You may want to take a look at https://github.com/Misterio77/nix-starter-configs. It’s very basic and should be simple to understand and improve.
-
My First Impressions of Nix
Yes. E.g. some guy's config with 6 different machines[1]: multiple desktops, laptops, servers, a Raspberry Pi, and a VPS. That's a rather advanced use of Nix for configuration, but definitely shows what it's capable of.
[1] https://github.com/Misterio77/nix-config
-
Tool for commiting and tagging when rebuilding
https://github.com/Misterio77/nix-config/blob/main/hosts/celaeno/services/hydra/lib/release-host-branch.nix https://github.com/Misterio77/nix-config/blob/main/hosts/celaeno/services/hydra/default.nix#L39
-
introducing packwiz2nix: one of the best tools for creating minecraft modpacks, now compatible with nix!
Implementation: https://github.com/Misterio77/nix-config/blob/main/pkgs/fetch-packwiz-pack/default.nix
-
Looking for examples of a fully declarative system
the one i reference all the time is https://github.com/Misterio77/nix-config
-
Building a highly optimized home environment with Nix
I believe Misterio77's does use it in his config.
-
Impermanence, wipe root on boot, possible?
I reuse the same btrfs logic on all my computers, including a RPi: https://github.com/Misterio77/nix-config/blob/main/hosts/common/btrfs-optin-persistence.nix
- Who's here runs NixOS with opt in state?
What are some alternatives?
impermanence - Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz]
i3wm-zsh-vim-termite-DOTFILES - Dotfiles for my (manjaro)-system with screenshots
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
discord-neofetch - Display your Discord information - neofetch style!
infra - NixOS configurations for nixos.org and its servers
dotfiles - ~/.dotfiles
rasp-nix - My Raspberry Pi(4) NixOS Configuration
dotfiles - :cherry_blossom: Aesthetic OpenboxWM Environment
nix-starter-configs - Simple and documented config templates to help you get started with NixOS + home-manager + flakes. All the boilerplate you need!
nixfiles - My NixOS configuration and assorted other crap.
dotfiles - My collection of dotfiles