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

https://github.com/cethien/dotfiles

🧑‍💻 "dotfiles"
https://github.com/cethien/dotfiles

ansible docker dotfiles home-manager linux nix nix-flake nixos

Last synced: 9 months ago
JSON representation

🧑‍💻 "dotfiles"

Awesome Lists containing this project

README

          

# "dotfiles"

my dotfiles... and setup scripts... and system configurations... and server
infra...

## requirements:

- [NixOS](https://nixos.org/) / any distro with Nix Package Manager

## remote usage

### setup home

for first time installation.

installs nix, sets some permissions and builds home-manager.

check [`setup file`](./setup-home.sh) for details.

```bash
sh <(curl -fsSL -H 'Cache-Control: no-cache' "https://raw.githubusercontent.com/cethien/dotfiles/main/setup-home.sh")
```

### neovim

_`i use vim btw`_ 🤓

_`are you really 10x without vim motions?`_ 🤓

build neovim from remote.

not sure about installing, will look into it later (famous last words)

```bash
nix run github:cethien/dotfiles#neovim
```

### build home from remote

_doesn't need existing home manager instance_

```bash
nix run nixpkgs#home-manager -- switch \
--flake github:cethien/dotfiles#"$(whoami)@$(hostname | tr 'A-Z' 'a-z')" -b bak-hm-"$(date +%Y%m%d_%H%M%S)"
```

includes also 2 console aliases:

- `rebuild` to build home from remote
- `rebuild-os` to build system from remote... speaking of:

### build nixos

well, you should have nixos installed, otherwise... will do nuthin' (well, it
will error, but thats basically nuthin')

```bash
sudo nixos-rebuild switch \
--flake github:cethien/dotfiles#"$(hostname | tr 'A-Z' 'a-z')"
```