Compare commits
3 Commits
89ae314939
...
1e075ffb13
| Author | SHA1 | Date | |
|---|---|---|---|
| 1e075ffb13 | |||
| 1429eaf34f | |||
| 4ec1268b2e |
5
Makefile
5
Makefile
@@ -34,3 +34,8 @@ dotfiles:
|
|||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
./test-in-docker.sh
|
./test-in-docker.sh
|
||||||
|
|
||||||
|
.PHONY: fmt
|
||||||
|
fmt:
|
||||||
|
git ls-files -z '*.md' | xargs -0 prettier --print-width 80 --prose-wrap always --write
|
||||||
|
git ls-files -z '*.toml' | xargs -0 taplo format
|
||||||
|
|||||||
28
README.md
28
README.md
@@ -1,8 +1,27 @@
|
|||||||
# dotfiles
|
# dotfiles
|
||||||
|
|
||||||
My configuration files.
|
My configuration files for my systems. Uses Ansible for local configuration.
|
||||||
|
|
||||||
# Installation
|
## Supported OS
|
||||||
|
|
||||||
|
Only Arch Linux is supported
|
||||||
|
|
||||||
|
## Bootstrapping
|
||||||
|
|
||||||
|
Bootstrapping is specific to the exact machine that is installed. See
|
||||||
|
`_machines/` for machine-specific configuration, and `install_scripts/` for the
|
||||||
|
machine install scripts.
|
||||||
|
|
||||||
|
They are keyed by hostname.
|
||||||
|
|
||||||
|
For easier installation, the install scripts are available via shortlinks. To
|
||||||
|
(re)install a new machine from a Arch live environment:
|
||||||
|
|
||||||
|
```
|
||||||
|
curl --proto '=https' -sSfL https://s.hkoerber.de/i/${hostname}.sh | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
## Manual Installation
|
||||||
|
|
||||||
Because it manages multiple users on the system, the directory is supposed to be
|
Because it manages multiple users on the system, the directory is supposed to be
|
||||||
at `/var/lib/dotfiles`.
|
at `/var/lib/dotfiles`.
|
||||||
@@ -12,14 +31,13 @@ To setup the dotfiles:
|
|||||||
1. `git clone https://github.com/hakoerber/dotfiles.git ~/dotfiles`
|
1. `git clone https://github.com/hakoerber/dotfiles.git ~/dotfiles`
|
||||||
2. `cd ~/dotfiles && ./install.sh`
|
2. `cd ~/dotfiles && ./install.sh`
|
||||||
|
|
||||||
# Partial application
|
## Partial application
|
||||||
|
|
||||||
To apply only a subset of the changes, use ansible tags that are available via
|
To apply only a subset of the changes, use ansible tags that are available via
|
||||||
the Makefile:
|
the Makefile:
|
||||||
|
|
||||||
| Command | Description |
|
| Command | Description |
|
||||||
| --- | --- |
|
| --------------- | -------------------------------------------------- |
|
||||||
| `make update` | Updates the system with the latest packages |
|
|
||||||
| `make packages` | Installs all defined packages (see `packages.yml`) |
|
| `make packages` | Installs all defined packages (see `packages.yml`) |
|
||||||
| `make dotfiles` | Manages the users' dotfiles |
|
| `make dotfiles` | Manages the users' dotfiles |
|
||||||
|
|
||||||
|
|||||||
@@ -21,4 +21,3 @@ blue = "#66d9ef"
|
|||||||
magenta = "#ae81ff"
|
magenta = "#ae81ff"
|
||||||
cyan = "#a1efe4"
|
cyan = "#a1efe4"
|
||||||
white = "#f9f8f5"
|
white = "#f9f8f5"
|
||||||
|
|
||||||
|
|||||||
@@ -5,12 +5,7 @@ idle-timeout = 0
|
|||||||
completion-trigger-len = 2
|
completion-trigger-len = 2
|
||||||
|
|
||||||
[editor.statusline]
|
[editor.statusline]
|
||||||
left = [
|
left = ["mode", "separator", "file-name", "file-modification-indicator"]
|
||||||
"mode",
|
|
||||||
"separator",
|
|
||||||
"file-name",
|
|
||||||
"file-modification-indicator",
|
|
||||||
]
|
|
||||||
|
|
||||||
right = [
|
right = [
|
||||||
"spinner",
|
"spinner",
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user