Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/friedow/dotfiles
NixOS and home-manager configuration
https://github.com/friedow/dotfiles
Last synced: 3 months ago
JSON representation
NixOS and home-manager configuration
- Host: GitHub
- URL: https://github.com/friedow/dotfiles
- Owner: friedow
- License: mit
- Created: 2021-12-29T12:01:46.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-06T10:12:30.000Z (3 months ago)
- Last Synced: 2024-11-06T11:23:16.715Z (3 months ago)
- Language: Nix
- Size: 14.2 MB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotfiles
This repository contains my personal NixOS and home-manager configuration.
## Usage
```
# ensure home directory is set up
mkdir -p /home/christian/Code
mkdir -p /home/christian/.ssh# plug in yubikey & get ssh keys from yubikey
ssh-keygen -K -f /home/christian/.ssh/id_ed25519_sk# clone dotfiles
sudo mv /etc/nixos /etc/nixos.backup
git clone https://github.com/friedow/dotfiles.git /home/christian/Code/friedow/dotfiles
sudo ln -s /home/christian/Code/friedow/dotfiles /etc/nixos# rebuild system
sudo nixos-rebuild switch# generate u2f_keys file from yubikey
mkdir -p /home/christian/.config/Yubico && nix run nixpkgs#pam_u2f > /home/christian/.config/Yubico/u2f_keys
```## Server setup
```
xargs -L1 parted --script /dev/sda -- < /home/christian/.config/Yubico/u2f_keys
```