Go to file
2022-07-26 00:09:25 -04:00
apps reorganize files 2022-07-25 23:20:02 -04:00
hosts move colorscheme out of gui section 2022-07-25 23:36:06 -04:00
legacy remove some legacy config files 2022-07-26 00:09:25 -04:00
modules move colorscheme out of gui section 2022-07-25 23:36:06 -04:00
templates change python template to allow more programs 2022-07-11 17:43:09 -04:00
windows add gruvbox for windows alacritty 2022-07-11 00:24:55 +00:00
.envrc more flakiness 2022-04-27 09:23:26 -04:00
.gitignore fix: nvim-cmp completion bugs 2022-07-13 02:15:00 +00:00
.stylua.toml move to make, change formatting, break everything 2022-01-22 17:19:32 -05:00
flake.lock bump versions 2022-07-14 20:21:13 -04:00
flake.nix reorganize files 2022-07-25 23:20:02 -04:00
README.md add proper readme file 2022-07-20 11:50:04 -04:00

Config Files

This repository contains configuration files for my NixOS, macOS, and WSL hosts.


NixOS - From Live Disk

Format drives and build system from any NixOS host, including the live installer disk:

This will erase your drives; use at your own risk!

lsblk # Choose the disk you want to wipe
nix-shell -p nixFlakes
nix run github:nmasur/dotfiles#installer -- nvme0n1 desktop

NixOS - From Existing System

If you're already running NixOS, you can switch to this configuration with the following command:

nix-shell -p nixFlakes
sudo nixos-rebuild switch --flake github:nmasur/dotfiles#desktop

Windows - From NixOS WSL

After installing NixOS on WSL, you can switch to the WSL configuration:

nix-shell -p nixFlakes
sudo nixos-rebuild switch --flake github:nmasur/dotfiles#wsl

macOS

To get started on a bare macOS installation, first install Nix:

sh -c "$(curl -L https://nixos.org/nix/install)"

Then use Nix to build nix-darwin:

nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer
./result/bin/darwin-installer

Then switch to the macOS configuration:

darwin-rebuild switch --flake .#macbook

Flake Templates

You can also use the templates as flakes for starting new projects:

nix flake init --template github:nmasur/dotfiles#poetry