Skip to content

Industrial/nixos-dotfiles

Repository files navigation

NixOS Dotfiles (Linux and OSX)

My NixOS configuration. I have separated out all software into features and avoided HomeManager to make it more portable. The caveat is that you have to configure everything manually but hey it's nix so that's pretty easy!

It configures a NixOS machine, an OSX machine and a Virtual Machine (using MicroVM).

Installation

git clone git@github.com:Industrial/nixos-dotfiles.git ~/.dotfiles

OSX

bin/install-osx-nix
bin/install-osx-nix-flakes
bin/install-osx-nix-conf

Update

Run one command to update your entire system.

NixOS

bin/update-repositories
bin/update-nixos

OSX

bin/update-repositories
bin/update-osx

VM

bin/update-vm
bin/stop-vm
bin/delete-vm
bin/start-vm

Clean

If you hit the limit of derivations or you are just very happy with what you've got:

bin/delete-generations

Lab

I have several services configured to run locally on some hosts:

TODO

  • Security
    • Configure keys using SopsNIX.
    • Firewall: All host operating systems (NixOS and OSX) should have Firewalls enabled that are closed by default.
  • Virtual Machine Setup: I want to recreate an environment that works like QubesOS. One Virtual Machine for one task.
    • Firewall: This Virtial Machine acts only as a firewall. It just routes all traffic. Allows only traffic from configured virtual machines.
    • Tor Bridge: Connects to Tor through the firewall. Allows only traffic from configured virtual Machines.
    • I2PD Bridge: Same as the Tor Bridge but uses I2PD.
      • Check out Yggdrasil.
    • Monero: Monero wallet (CLI). Connects to the Tor Bridge.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published