flake: Initialise new repository

This commit is contained in:
Jan Kremer 2025-07-08 10:05:22 +02:00
commit 1eb25ada72
Signed by: jan
GPG key ID: A7DA689CB3B078EC
41 changed files with 1657 additions and 0 deletions

44
README.md Normal file
View file

@ -0,0 +1,44 @@
# Floccus
## Mac setup
### Installation
```sh
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
git clone git@github.com:jukremer/nix-config.git ~/.confin/nix
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
nix run nix-darwin -- switch --flake ~/.config/nix
```
### Switch
```sh
darwin-rebuild switch --flake ~/.config/nix
```
### Update
```sh
nix flake update --commit-lock-file ~/.config/nix
```
## NixOS setup
### Installation
```sh
git clone git@github.com:jukremer/nix-config.git ~/.confin/nix
```
### Switch
```sh
sudo nixos-rebuild switch --flake ~/.config/nix
```
### Update
```sh
nix flake update --commit-lock-file ~/.config/nix
```