No description
Find a file
2024-02-05 17:20:45 +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 treewide: sed s/--replace/--replace-warn/g 2024-02-05 17:13:32 +08:00
hosts treewide: ./{darwin,nixos}/hosts -> ./hosts 2024-02-01 17:42:50 +08:00
nixos nixos/networking/dns: add sni 2024-02-05 17:20:45 +08:00
pkgs metacubexd: 1.134.0 -> 1.135.0 2024-02-03 12:11:29 +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 secrets: fix warning 2024-01-28 06:40:56 +08:00
flake.lock nixos: nix-monitored -> nh 2024-02-02 09:22:00 +08:00
flake.nix nixos: nix-monitored -> nh 2024-02-02 09:22:00 +08:00
LICENSE repo: add license 2024-01-20 22:26:52 +08:00
README.md treewide: ./{darwin,nixos}/hosts -> ./hosts 2024-02-01 17:42:50 +08:00
secrets.yaml secrets: update clash/proxies/lon0 2024-02-02 09:22:00 +08:00

nix{os,-darwin} config

It just works™

Structure

 .
│   # Darwin configuration is not actively maintained and sometimes it might break.
├── 󱂵 home
├──  darwin
├──  nixos
│  ├──  hosts
│  ├──  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 ./nixos/hosts/<hostname>

  3. Install NixOS

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