Go to file
2023-03-19 23:35:06 -04:00
apps fix disko partition for single disk 2023-02-26 20:03:39 -05:00
colorscheme convert to proper module layout 2022-12-21 14:18:03 -07:00
disks setup but don't use generic zfs config 2023-02-27 01:49:46 +00:00
docs move calibre books to zfs directory 2023-03-04 01:04:02 +00:00
generators get neovim added to install-iso 2023-02-26 10:11:33 -05:00
hosts adjust fan curve 2023-03-19 23:35:06 -04:00
modules allow rofi-systemd to use kitty terminal 2023-03-19 12:49:41 -04:00
overlays remove dead code with deadnix 2023-02-20 20:45:56 -05:00
private fix: don't age encrypt password hash 2023-02-28 00:12:19 -05:00
templates remove dead code with deadnix 2023-02-20 20:45:56 -05:00
windows use shift+enter for completion in terminal 2022-10-31 20:47:33 -04:00
.envrc more flakiness 2022-04-27 09:23:26 -04:00
.gitignore put hashed pass in a separate file 2022-11-02 21:47:11 -04:00
.stylua.toml refactor colors and options 2022-11-02 21:29:14 -04:00
flake.lock update lockfile 2023-03-16 14:52:20 -04:00
flake.nix fix: mail not syncing read and deleted 2023-03-12 17:08:21 -04:00
LICENSE add MIT license 2022-07-27 19:03:31 -04:00
password.sha512 fix: don't age encrypt password hash 2023-02-28 00:12:19 -05:00
public-keys add swan public key 2023-02-26 22:04:45 -05:00
README.md move nixos and darwin back into modules dir 2023-02-20 20:37:37 -05:00

System Configurations

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

They are organized and managed by Nix, so some of the configuration may be difficult to translate to a non-Nix system.

However, some of the configurations are easier to lift directly:

Try out my Neovim config (requires nix):

nix run github:nmasur/dotfiles#neovim

Or build it as a package (requires nix):

nix build github:nmasur/dotfiles#neovim

If you already have a Neovim configuration, you may need to move it out of ~/.config/nvim or set XDG_CONFIG_HOME to another value; otherwise both configs might conflict with each other.


Full Installation

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 nixVersions.stable
nix run github:nmasur/dotfiles#installer -- nvme0n1 tempest

NixOS - From Existing System

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

nix-shell -p nixVersions.stable
sudo nixos-rebuild switch --flake github:nmasur/dotfiles#tempest

Windows - From NixOS WSL

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

nix-shell -p nixVersions.stable
sudo nixos-rebuild switch --flake github:nmasur/dotfiles#hydra

You should also download the FiraCode font and install it on Windows. Install Alacritty and move the windows/alacritty.yml file to C:\Users\<user>\AppData\Roaming\alacritty.

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 github:nmasur/dotfiles#lookingglass

Flake Templates

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

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