simonrw / nix-config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nix config

I manage my systems with nix:

I do not expect anyone else to use this system, but there may be useful information in the configs.

Layout

  • nixos system configurations under system/nixos
    • my main system "astoria" is the configuration of my main development PC (intel CPU, nVidia GPU)
  • nix-darwin configurations under system/darwin
  • home-manager configuration under home with "top level" configuration at home/home.nix with imports to other sub-modules. I am trying to migrate to a more modular configuration as part of learning nix, but I'm not 100% there yet

Usage

These instructions are for my benefit only

Updating the system

$ ./bin/switch.sh

Building the system into the result dir

$ ./bin/build.sh

Building a VM of the system on NixOS

$ ./bin/vm-build.sh

Playing around with the config in a REPL

./bin/nixos-config.sh

Updating my home-manager config only

./bin/home-switch.sh

Building my home-manager config only

./bin/home-build.sh

About

License:Apache License 2.0


Languages

Language:Nix 33.2%Language:Python 28.5%Language:Shell 17.7%Language:Perl 9.3%Language:Ruby 3.7%Language:Vim Script 3.2%Language:Rust 2.5%Language:Lua 1.6%Language:Emacs Lisp 0.3%