Skip to content

Commit

Permalink
chore: update README and TODO for improved setup instructions and rem…
Browse files Browse the repository at this point in the history
…ove deprecated content
  • Loading branch information
BastianAsmussen committed Dec 30, 2024
1 parent cc402e6 commit 68a03a9
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 11 deletions.
37 changes: 32 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,44 @@ This is a repository for my NixOS configuration.
cd ~/dotfiles
```

2. Set up the disk configuration, e.g. for `limitless`.
3. Enter the provided Nix development shell.

```sh
nix-shell
```

4. Or, as a one-liner.

```sh
nix-shell -p git --run "git clone https://github.com/BastianAsmussen/dotfiles.git ~/dotfiles && cd ~/dotfiles && nix-shell"
```

2. Choose a host:

1. View available host options.

```sh
HOSTNAME=$(ls ~/dotfiles/hosts | fzf)
```

2. Set manually, e.g. `limitless`.

```sh
HOSTNAME=limitless
```

3. Set up the disk configuration.

```sh
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- \
--mode disko ~/dotfiles/hosts/limitless/disko-config.nix
sudo nix run 'github:nix-community/disko/latest#disko-install' -- \
--write-efi-boot-entries \
--mode disko ~/dotfiles/hosts/$HOSTNAME/disko-config.nix
```

3. Install NixOS with the given configuration, e.g. `limitless`.
4. Install NixOS with the given configuration.

```sh
sudo nixos-install --flake ~/dotfiles#limitless
sudo nixos-install --flake ~/dotfiles#$HOSTNAME
```

> [!IMPORTANT]
Expand Down
6 changes: 0 additions & 6 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ around problems.

- [Developer Environments](#developer-environments)
- [Neovim](#neovim)
- [Disko Command](#disko-command)
- [Impermanence Setup](#impermanence-setup)
- [AGS Migration](#ags-migration)
- [Linux Hardening](#linux-hardening)
Expand Down Expand Up @@ -50,11 +49,6 @@ future:
- [nvim-dap](https://github.com/mfussenegger/nvim-dap) opens a window to select
multiple different runners when I press <F5>.

## Disko Command

The command I use for setting up my disk layout seems to be deprecated. I need
to figure out a new way to handle it soon.

## Impermanence Setup

### Current Issues
Expand Down

0 comments on commit 68a03a9

Please sign in to comment.