https://github.com/algram/dots
⚙️ dotfiles for my workstation setup
https://github.com/algram/dots
Last synced: 10 months ago
JSON representation
⚙️ dotfiles for my workstation setup
- Host: GitHub
- URL: https://github.com/algram/dots
- Owner: Algram
- Created: 2018-08-05T08:22:02.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2025-02-11T22:58:50.000Z (over 1 year ago)
- Last Synced: 2025-05-05T03:36:20.367Z (about 1 year ago)
- Language: Nix
- Homepage:
- Size: 20.1 MB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
⚙️ Dots
configs, scripts, quality of life
## Usage
This is everything to set up my workstation. All that needs to be done is renaming the `secrets-template.nix` to `secrets.nix` and fill out the variables.
Afterwards only a single command is needed to set it up:
```bash
nixos-install
```
## Dotfiles
The dotfiles setup is based on the concept from [jaagr](https://github.com/jaagr/dots). Basically everything is managed with a git repository and the `dots` alias.
### Alias
```sh
alias dots='git --git-dir=$HOME/.dots/ --work-tree=$HOME'
```
### Setup
```sh
git init --bare $HOME/.dots
dots remote add origin https://github.com/Algram/dots.git
```
### Configuration
```sh
dots config status.showUntrackedFiles no
```
### Usage
```sh
# Use the dots alias like you would use the git command
dots status
dots add --update ...
dots commit -m "..."
dots push
# Listing files (tracked by git)
dots ls-files
dots ls-files .config/polybar/
```
### Replication
```sh
git clone --recursive --separate-git-dir=$HOME/.dots https://github.com/Algram/dots.git /tmp/dots
rsync -rvl --exclude ".git" /tmp/dots/ $HOME/
rm -r /tmp/dots
dots submodule update --init --recursive $HOME/
```
## Wallpaper
- https://unsplash.com/photos/Z4wF0h47fy8
- https://unsplash.com/photos/VNseEaTt9w4
- https://unsplash.com/photos/JgOeRuGD_Y4