My NixOS configuration.
ed94fa013d
`nixos-rebuild` has unstable flake support. By adding a simple rebuild command to the shell, we don't need to reply on it to switch configurations anymore. At least until it stablizes. |
||
---|---|---|
.git-crypt | ||
hosts | ||
lib | ||
local | ||
modules | ||
pkgs | ||
profiles | ||
secrets | ||
users/nrd | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
configuration.nix | ||
COPYING | ||
flake.lock | ||
flake.nix | ||
README.md | ||
shell.nix |
Introduction
This project is under construction as a rewrite of my legacy NixOS configuration, using the experimental flakes mechanism.
Flake Talk
setup:
{
nix.package = nixFlakes;
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
}
sans NixOS:
# nix-env -f '<nixpkgs>' -iA nixFlakes
# echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
License
This software is licensed under the MIT License.
Note: MIT license does not apply to the packages built by this configuration, merely to the files in this repository (the Nix expressions, build scripts, NixOS modules, etc.). It also might not apply to patches included here, which may be derivative works of the packages to which they apply. The aforementioned artifacts are all covered by the licenses of the respective packages.