Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/evantravers/dotfiles

My personal dotfiles… both to set up a new computer and to keep my dev environments synced.
https://github.com/evantravers/dotfiles

dotfiles

Last synced: about 2 months ago
JSON representation

My personal dotfiles… both to set up a new computer and to keep my dev environments synced.

Awesome Lists containing this project

README

        

# Dotfiles

This is to describe the barebones development system I use. Supports NixOS on WSL, Intel and Silicon Macs.

## Install Nix

On OSX: [Determinate Systems Installer](https://github.com/DeterminateSystems/nix-installer).
On WSL2: [WSL2 Nix](https://github.com/nix-community/NixOS-WSL?tab=readme-ov-file)

## Bootstrap

> [!WARNING]
> I haven't tested bootstrapping this yet, especially on an "unknown" host.

### NixOS (currently just WSL)

`sudo nixos-install --flake github:evantravers/dotfiles#nixos`

### Darwin/Linux

`nix run nix-darwin -- switch --flake github:evantravers/dotfiles`

## Update

### NixOS

`sudo nixos-rebuild switch --flake ~/src/github.com/evantravers/dotfiles`

### Darwin

`darwin-rebuild switch --flake ~/src/github.com/evantravers/dotfiles`

## Home Manager

You could use something like this to import my home-manager standalone.

```nix
{ config, pkgs, ... }: {
home-manager.users.evan = import ./home-manager/home.nix;
}
```