No description
Find a file
2024-02-13 12:01:59 +08:00
.helix repo: set helix's default formatter 2023-12-27 20:02:25 +08:00
darwin treewide: ./{darwin,nixos}/hosts -> ./hosts 2024-02-01 17:42:50 +08:00
home Revert "home: starship: use tokyonight preset" 2024-02-11 22:24:50 +08:00
hosts hosts: add blacksteel 2024-02-13 12:01:59 +08:00
nixos home/wallpapers/pixiv: fetch from source 2024-02-12 21:52:25 +08:00
overlays overlays: fine grain patches 2024-02-12 13:27:05 +08:00
pkgs v2ray-rules-dat: init at 202402042209 2024-02-05 17:20:45 +08:00
.gitattributes nixos: clash-meta-client: refactor 2023-12-31 20:29:48 +08:00
.gitignore repo: ignore .DS_Store 2023-12-18 14:11:05 +08:00
.sops.yaml hosts: add blacksteel 2024-02-13 12:01:59 +08:00
flake.lock flake: update lock file 2024-02-12 14:13:32 +08:00
flake.nix hosts: add blacksteel 2024-02-13 12:01:59 +08:00
LICENSE repo: add license 2024-01-20 22:26:52 +08:00
README.md docs/readme: update 2024-02-08 13:34:37 +08:00
secrets.yaml hosts: add blacksteel 2024-02-13 12:01:59 +08:00

nix{os,-darwin} config

It just works™

Structure

Any directory or file that is prefixed with an _ (underscore) means that the whole directory/file is unused in this repository.

 .
│   # Darwin configuration is not actively maintained and sometimes it might
│   # break.
├── 󱂵 home
├──  darwin
├──  nixos
│  ├──  modules
│  └──  profiles
│
├──  hosts
├──  flake.nix
├──  flake.lock
│
└──  README.md

Installation:

Please don't.

NixOS:

  1. Clone this repository

    $ git clone https://github.com/Guanran928/flake.git

  2. Add your device's hardware configuration in ./flake.nix and ./hosts/<hostname>

  3. Install NixOS

    $ nixos-install --flake <this flake's directory>#<hostname>